2
0
mirror of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-09-04 20:19:47 +08:00
linux/arch/powerpc
Magnus Lindholm 403d1338a4 mm: pgtable: fix pte_swp_exclusive
Make pte_swp_exclusive return bool instead of int.  This will better
reflect how pte_swp_exclusive is actually used in the code.

This fixes swap/swapoff problems on Alpha due pte_swp_exclusive not
returning correct values when _PAGE_SWP_EXCLUSIVE bit resides in upper
32-bits of PTE (like on alpha).

Suggested-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Magnus Lindholm <linmag7@gmail.com>
Cc: Sam James <sam@gentoo.org>
Link: https://lore.kernel.org/lkml/20250218175735.19882-2-linmag7@gmail.com/
Link: https://lore.kernel.org/lkml/20250602041118.GA2675383@ZenIV/
[ Applied as the 'sed' script Al suggested   - Linus ]
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2025-06-11 14:52:08 -07:00
..
boot powerpc updates for 6.16 2025-05-26 14:38:57 -07:00
configs Networking changes for 6.16. 2025-05-28 15:24:36 -07:00
crypto crypto: powerpc/sha256 - implement library instead of shash 2025-05-05 18:20:43 +08:00
include mm: pgtable: fix pte_swp_exclusive 2025-06-11 14:52:08 -07:00
kernel Kbuild updates for v6.16 2025-06-07 10:05:35 -07:00
kexec powerpc/crash: Fix non-smp kexec preparation 2025-04-29 11:40:46 +05:30
kvm treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
lib powerpc updates for 6.16 2025-05-26 14:38:57 -07:00
math-emu
mm - The 11 patch series "Add folio_mk_pte()" from Matthew Wilcox 2025-05-31 15:44:16 -07:00
net powerpc/bpf: fix JIT code size calculation of bpf trampoline 2025-04-29 11:04:27 +05:30
perf Performance events updates for v6.16: 2025-05-26 15:40:23 -07:00
platforms powerpc/vas: Return -EINVAL if the offset is non-zero in mmap() 2025-06-10 07:56:41 +05:30
purgatory Makefile: remove redundant tool coverage variables 2024-05-14 23:35:48 +09:00
sysdev A set of cleanups for the generic interrupt subsystem: 2025-05-27 08:07:32 -07:00
tools powerpc/ftrace: Fix ftrace bug with KASAN=y 2024-11-10 22:33:51 +11:00
xmon powerpc: Don't use --- in kernel logs 2025-04-29 11:41:38 +05:30
Kbuild powerpc64/ftrace: Move ftrace sequence out of line 2024-10-31 11:00:54 +11:00
Kconfig Revert "crypto: powerpc/poly1305 - Add SIMD fallback" 2025-05-21 06:53:36 +08:00
Kconfig.debug powerpc: Remove UDBG_RTAS_CONSOLE 2025-02-26 21:15:09 +05:30
Makefile Kbuild updates for v6.13 2024-11-30 13:41:50 -08:00
Makefile.postlink powerpc/ftrace: Add a postlink script to validate function tracer 2024-10-31 11:00:54 +11:00