Files
linux/arch/x86/include/asm
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
..
2025-05-31 09:40:40 +02:00
2023-11-21 17:23:35 +01:00
2025-02-26 12:24:17 +01:00
2020-05-07 16:06:20 +02:00
2025-01-14 08:35:08 +01:00
2024-11-25 12:11:55 -08:00
2021-10-28 23:25:26 +02:00
2025-03-17 22:06:53 -07:00
2025-01-13 23:07:18 +01:00
2020-11-06 23:14:58 +01:00
2022-04-07 08:27:52 -07:00
2022-11-10 13:12:45 +01:00
2025-03-17 22:06:53 -07:00
2025-06-11 14:52:08 -07:00
2025-04-16 15:36:23 +08:00
2025-02-14 10:32:05 +01:00
2020-03-21 16:03:25 +01:00
2024-10-02 16:53:38 +02:00
2025-02-18 11:08:36 +01:00
2022-01-30 21:17:00 -05:00
2022-01-30 21:17:00 -05:00
2024-06-25 17:15:48 +02:00
2025-04-07 07:36:33 -04:00