[PATCH 0/3] riscv: mm: clean up and optimize some page table get-and-clear functions

patchwork-bot+linux-riscv at kernel.org patchwork-bot+linux-riscv at kernel.org
Wed Nov 19 20:30:16 PST 2025


Hello:

This series was applied to riscv/linux.git (for-next)
by Paul Walmsley <pjw at kernel.org>:

On Wed, 19 Nov 2025 21:18:27 -0700 you wrote:
> This series implements some minor cleanups on the RISC-V page table
> get-and-clear functions.  We continue the work from commit
> 546e42c8c6d94 ("riscv: Use an atomic xchg in
> pudp_huge_get_and_clear()").  The two themes are:
> 
> - avoid atomic operations on non-SMP kernels
> 
> [...]

Here is the summary with links:
  - [1/3] riscv: mm: pmdp_huge_get_and_clear(): avoid atomic ops when !CONFIG_SMP
    https://git.kernel.org/riscv/c/44d98d7575d0
  - [2/3] riscv: mm: ptep_get_and_clear(): avoid atomic ops when !CONFIG_SMP
    https://git.kernel.org/riscv/c/ad6a7d4bcee7
  - [3/3] riscv: mm: use xchg() on non-atomic_long_t variables, not atomic_long_xchg()
    https://git.kernel.org/riscv/c/36313cea1273

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