[PATCH v6 0/5] riscv: uaccess: optimisations
patchwork-bot+linux-riscv at kernel.org
patchwork-bot+linux-riscv at kernel.org
Fri May 9 10:30:35 PDT 2025
Hello:
This series was applied to riscv/linux.git (for-next)
by Palmer Dabbelt <palmer at rivosinc.com>:
On Thu, 10 Apr 2025 07:05:21 +0000 you wrote:
> This series tries to optimize riscv uaccess by allowing the use of
> user_access_begin() and user_access_end() which permits grouping user accesses
> and avoiding the CSR write penalty for each access.
>
> The error path can also be optimised using asm goto which patches 3 and 4
> achieve. This will speed up jumping to labels by avoiding the need of an
> intermediary error type variable within the uaccess macros
>
> [...]
Here is the summary with links:
- [v6,1/5] riscv: save the SR_SUM status over switches
https://git.kernel.org/riscv/c/788aa64c01f1
- [v6,2/5] riscv: implement user_access_begin() and families
https://git.kernel.org/riscv/c/19500c6dbc5c
- [v6,3/5] riscv: uaccess: use input constraints for ptr of __put_user()
https://git.kernel.org/riscv/c/62135bf660b2
- [v6,4/5] riscv: uaccess: use 'asm goto' for put_user()
https://git.kernel.org/riscv/c/cdf647e81714
- [v6,5/5] riscv: uaccess: use 'asm_goto_output' for get_user()
https://git.kernel.org/riscv/c/f6bff7827a48
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