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/um/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
..
fpu um: Include linux/types.h in asm/fpu/api.h 2025-05-07 16:45:40 +08:00
archrandom.h random: handle archrandom with multiple longs 2022-07-25 13:26:14 +02:00
asm-prototypes.h um: Add cmpxchg8b_emu and checksum functions to asm-prototypes.h 2025-05-05 10:22:07 +02:00
bpf_perf_event.h um: don't generate asm/bpf_perf_event.h 2024-07-10 14:23:30 +02:00
cache.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
cacheflush.h um: implement flush_cache_vmap/flush_cache_vunmap 2021-06-17 22:04:40 +02:00
common.lds.S UML: add support for KASAN under x86_64 2022-07-17 23:35:22 +02:00
cpufeature.h x86/percpu: Rewrite x86_this_cpu_test_bit() and friends as macros 2024-04-06 12:42:17 +02:00
current.h um: move thread info into task 2024-11-12 14:50:31 +01:00
delay.h um: fix ndelay/udelay defines 2021-12-21 21:13:43 +01:00
dma.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
futex.h um: add a UML specific futex implementation 2021-06-17 22:01:45 +02:00
hardirq.h um/irqstat: Get rid of the duplicated declarations 2020-11-23 10:31:05 +01:00
io.h um: add PCI over virtio emulation driver 2021-06-17 21:45:43 +02:00
irq.h um: Track userspace children dying in SECCOMP mode 2025-06-02 15:17:19 +02:00
irqflags.h um: rename set_signals() to um_set_signals() 2021-12-21 21:13:44 +01:00
kasan.h um: Fix the declaration of kasan_map_memory 2024-04-30 14:15:42 +02:00
Kbuild um: x86: clean up elf specific definitions 2025-03-18 14:48:31 +01:00
kvm_para.h
mmu_context.h um: remove force_flush_all from fork_handler 2024-07-03 17:09:50 +02:00
mmu.h um: Track userspace children dying in SECCOMP mode 2025-06-02 15:17:19 +02:00
msi.h um: add PCI over virtio emulation driver 2021-06-17 21:45:43 +02:00
page.h This pull request contains the following changes for UML: 2024-11-30 10:34:54 -08:00
pci.h PCI/MSI: Get rid of PCI_MSI_IRQ_DOMAIN 2022-11-17 15:15:19 +01:00
pgalloc.h mm: pgtable: convert some architectures to use tlb_remove_ptdesc() 2025-04-01 15:17:13 -07:00
pgtable-2level.h um: remove custom definition of mk_pte() 2025-05-11 17:48:03 -07:00
pgtable-4level.h um: remove custom definition of mk_pte() 2025-05-11 17:48:03 -07:00
pgtable.h mm: pgtable: fix pte_swp_exclusive 2025-06-11 14:52:08 -07:00
processor-generic.h um: mark rodata read-only and implement _nofault accesses 2025-03-18 11:03:14 +01:00
ptrace-generic.h um: Move declarations to proper headers 2024-04-22 21:58:48 +02:00
sections.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
setup.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
smp.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
stacktrace.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
syscall-generic.h syscall.h: introduce syscall_set_nr() 2025-05-11 17:48:15 -07:00
thread_info.h um: move thread info into task 2024-11-12 14:50:31 +01:00
timex.h um: use fallback for random_get_entropy() instead of zero 2022-05-13 23:59:23 +02:00
tlb.h um: implement flush_cache_vmap/flush_cache_vunmap 2021-06-17 22:04:40 +02:00
tlbflush.h um: Abandon the _PAGE_NEWPROT bit 2024-10-23 09:52:49 +02:00
uaccess.h um: fix _nofault accesses 2025-05-05 10:06:51 +02:00
unwind.h x86/unwind: Add the ORC unwinder 2017-07-26 13:18:20 +02:00
vmalloc.h mm/vmalloc: Add empty <asm/vmalloc.h> headers and use them from <linux/vmalloc.h> 2019-12-10 10:12:55 +01:00
vmlinux.lds.h Construct init thread stack in the linker script rather than by union 2018-01-09 23:21:02 +00:00
xor.h um: Remove straying parenthesis 2022-07-17 23:24:20 +02:00