[PATCH] Revert "riscv: Define TASK_SIZE_MAX for __access_ok()"

patchwork-bot+linux-riscv at kernel.org patchwork-bot+linux-riscv at kernel.org
Mon Jun 23 17:50:10 PDT 2025


Hello:

This patch was applied to riscv/linux.git (fixes)
by Palmer Dabbelt <palmer at dabbelt.com>:

On Thu, 19 Jun 2025 17:58:58 +0200 you wrote:
> This reverts commit ad5643cf2f69 ("riscv: Define TASK_SIZE_MAX for
> __access_ok()").
> 
> This commit changes TASK_SIZE_MAX to be LONG_MAX to optimize access_ok(),
> because the previous TASK_SIZE_MAX (default to TASK_SIZE) requires some
> computation.
> 
> [...]

Here is the summary with links:
  - Revert "riscv: Define TASK_SIZE_MAX for __access_ok()"
    https://git.kernel.org/riscv/c/890ba5be6335

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html





More information about the linux-riscv mailing list