linux/arch
Alexandre Ghiti 668208b161 riscv: use an atomic xchg in pudp_huge_get_and_clear()
Make sure we return the right pud value and not a value that could have
been overwritten in between by a different core.

Link: https://lkml.kernel.org/r/20250814-dev-alex-thp_pud_xchg-v1-1-b4704dfae206@rivosinc.com
Fixes: c3cc2a4a3a ("riscv: Add support for PUD THP")
Signed-off-by: Alexandre Ghiti <alexghiti@rivosinc.com>
Cc: Andrew Donnellan <ajd@linux.ibm.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2025-09-13 16:55:01 -07:00
..
alpha Significant patch series in this pull request: 2025-08-03 16:23:09 -07:00
arc mm: replace (20 - PAGE_SHIFT) with common macros for pages<->MB conversion 2025-09-13 16:54:42 -07:00
arm ARM: stacktrace: include asm/sections.h in asm/stacktrace.h 2025-08-25 06:12:06 -07:00
arm64 Two arm64 fixes: 2025-08-30 10:43:53 -07:00
csky ftrace changes for v6.17: 2025-07-30 16:04:10 -07:00
hexagon
loongarch LoongArch: KVM: Add address alignment check in pch_pic register access 2025-08-20 22:51:15 +08:00
m68k treewide: rename GPIO set callbacks back to their original names 2025-08-07 10:07:06 +02:00
microblaze ftrace changes for v6.17: 2025-07-30 16:04:10 -07:00
mips mips: lantiq: xway: sysctrl: rename the etop node 2025-08-22 22:03:21 +02:00
nios2
openrisc OpenRISC updates for 6.17 2025-08-04 08:37:46 -07:00
parisc parisc architecture fixes for kernel v6.17-rc1: 2025-08-01 16:15:53 -07:00
powerpc powerpc/ptdump: rename "struct pgtable_level" to "struct ptdump_pg_level" 2025-09-13 16:54:51 -07:00
riscv riscv: use an atomic xchg in pudp_huge_get_and_clear() 2025-09-13 16:55:01 -07:00
s390 mm: convert arch-specific code to mm_flags_*() accessors 2025-09-13 16:54:56 -07:00
sh Significant patch series in this pull request: 2025-08-03 16:23:09 -07:00
sparc mm: convert arch-specific code to mm_flags_*() accessors 2025-09-13 16:54:56 -07:00
um Mostly cleanups, except: 2025-07-29 20:31:45 -07:00
x86 mm: convert arch-specific code to mm_flags_*() accessors 2025-09-13 16:54:56 -07:00
xtensa Xtensa updates for v6.17 2025-08-09 07:35:03 +03:00
.gitignore
Kconfig Deferred unwind changes for 6.17 2025-08-01 09:46:24 -07:00