linux-kernelorg-stable/arch/s390
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
..
appldata
boot s390/boot: Use strspcy() instead of strcpy() 2025-04-30 11:41:28 +02:00
configs This update includes the following changes: 2025-05-26 13:47:28 -07:00
crypto s390 updates for 6.16 merge window 2025-05-26 14:36:05 -07:00
hypfs VFS: rename lookup_one_len family to lookup_noperm and remove permission check 2025-04-08 11:24:36 +02: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
kvm KVM: s390: rename PROT_NONE to PROT_TYPE_DUMMY 2025-06-05 22:02:22 -07:00
lib This push fixes a loongarch header regression and a module name 2025-06-03 08:03:45 -07:00
mm more s390 updates for 6.16 merge window 2025-06-06 18:02:37 -07:00
net s390/bpf: Use kernel's expoline thunks 2025-05-22 08:40:56 -07:00
pci s390 updates for 6.16 merge window 2025-05-26 14:36:05 -07:00
purgatory
tools s390: Allow to compile with z17 optimizations 2025-04-09 12:12:41 +02:00
Kbuild
Kconfig s390/mm: Select ARCH_WANT_IRQS_OFF_ACTIVATE_MM 2025-04-14 11:23:21 +02:00
Kconfig.debug s390/mm: Add configurable STRICT_MM_TYPECHECKS 2025-03-11 15:27:34 +01:00
Makefile s390: Allow to compile with z17 optimizations 2025-04-09 12:12:41 +02:00
Makefile.postlink kbuild: Create intermediate vmlinux build with relocations preserved 2025-03-17 00:29:50 +09:00