diff options
| author | Magnus Lindholm <[email protected]> | 2025-02-18 17:55:14 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2025-06-11 21:52:08 +0000 |
| commit | 403d1338a4a59cfebb4ded53fa35fbd5119f36b1 (patch) | |
| tree | 117ff0334dae19186f2fc7c131fd78b864965bcf /net/tipc/socket.c | |
| parent | KEYS: Invert FINAL_PUT bit (diff) | |
| download | kernel-403d1338a4a59cfebb4ded53fa35fbd5119f36b1.tar.gz kernel-403d1338a4a59cfebb4ded53fa35fbd5119f36b1.zip | |
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 <[email protected]>
Signed-off-by: Magnus Lindholm <[email protected]>
Cc: Sam James <[email protected]>
Link: https://lore.kernel.org/lkml/[email protected]/
Link: https://lore.kernel.org/lkml/20250602041118.GA2675383@ZenIV/
[ Applied as the 'sed' script Al suggested - Linus ]
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/tipc/socket.c')
0 files changed, 0 insertions, 0 deletions
