linux/arch/parisc/include/asm
David Hildenbrand 6d239fc78c parisc/mm: support __HAVE_ARCH_PTE_SWP_EXCLUSIVE
Let's support __HAVE_ARCH_PTE_SWP_EXCLUSIVE by using the yet-unused
_PAGE_ACCESSED location in the swap PTE.  Looking at pte_present() and
pte_none() checks, there seems to be no actual reason why we cannot use
it: we only have to make sure we're not using _PAGE_PRESENT.

Reusing this bit avoids having to steal one bit from the swap offset.

Link: https://lkml.kernel.org/r/20230113171026.582290-17-david@redhat.com
Signed-off-by: David Hildenbrand <david@redhat.com>
Cc: "James E.J. Bottomley" <James.Bottomley@HansenPartnership.com>
Cc: Helge Deller <deller@gmx.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2023-02-02 22:33:09 -08:00
..
agp.h agp: define proper stubs for empty helpers 2022-01-29 22:24:25 +01:00
alternative.h parisc: Reduce kernel size by packing alternative tables 2022-10-11 12:01:24 +02:00
asm-offsets.h
asmregs.h
assembly.h parisc: Add dep_safe() macro to deposit a register in 32- and 64-kernels 2022-05-23 13:44:24 +02:00
atomic.h locking/atomic: parisc: move to ARCH_ATOMIC 2021-05-26 13:20:51 +02:00
barrier.h parisc: Add alternative patching to synchronize_caches define 2020-10-15 08:10:38 +02:00
bitops.h Revert "parisc: Show error if wrong 32/64-bit compiler is being used" 2022-08-22 11:09:17 +02:00
bug.h
bugs.h
cache.h parisc: Don't enforce DMA completion order in cache flushes 2022-05-23 13:44:24 +02:00
cacheflush.h highmem: Make __kunmap_{local,atomic}() take const void pointer 2022-07-25 17:45:40 +02:00
checksum.h saner calling conventions for csum_and_copy_..._user() 2020-08-20 15:45:15 -04:00
cmpxchg.h locking/atomic: parisc: move to ARCH_ATOMIC 2021-05-26 13:20:51 +02:00
compat.h asm-generic: compat: Cleanup duplicate definitions 2022-04-26 13:35:54 -07:00
compat_ucontext.h
current.h parisc: Reduce code size by optimizing get_current() function calls 2022-03-11 19:49:31 +01:00
delay.h
dma-mapping.h
dma.h PCI: Move isa_dma_bridge_buggy out of asm/dma.h 2022-07-22 17:24:47 -05:00
dwarf.h
eisa_bus.h
eisa_eeprom.h
elf.h parisc: Add vDSO support 2022-03-11 19:49:30 +01:00
fb.h parisc/stifb: Fix fb_is_primary_device() only available with CONFIG_FB_STI 2022-06-07 13:01:17 +02:00
fixmap.h parisc: Don't hardcode assembler bit definitions in tmpalias code 2022-05-23 13:44:24 +02:00
floppy.h arch/*/: remove CONFIG_VIRT_TO_BUS 2022-06-28 13:20:21 +02:00
ftrace.h
futex.h uaccess: remove CONFIG_SET_FS 2022-02-25 09:36:06 +01:00
grfioctl.h
hardirq.h softirq: Move __ARCH_HAS_DO_SOFTIRQ to Kconfig 2021-02-10 23:34:16 +01:00
hardware.h parisc: Avoid printing the hardware path twice 2022-10-31 15:37:14 +01:00
hash.h
hugetlb.h mm: change huge_ptep_clear_flush() to return the original pte 2022-05-13 16:48:55 -07:00
ide.h parisc: Drop ifdef __KERNEL__ from non-uapi kernel headers 2021-11-01 07:36:00 +01:00
io.h parisc: hide ioread64 declaration on 32-bit 2022-09-12 21:27:19 +02:00
irq.h parisc: Remove leftover reference to the power_tasklet 2021-01-26 19:57:26 +01:00
irqflags.h
jump_label.h parisc: Include stringify.h to avoid build error in crypto/api.c 2021-11-18 09:01:36 +01:00
kbdleds.h
Kbuild parisc: syscalls: switch to generic syscalltbl.sh 2021-04-27 09:43:56 +02:00
kexec.h
kfence.h parisc: Add KFENCE support 2021-10-30 23:11:00 +02:00
kgdb.h
kprobes.h parisc: Avoid using hardware single-step in kprobes 2022-03-18 09:10:14 +01:00
ldcw.h treewide: Convert macro and uses of __section(foo) to __section("foo") 2020-10-25 14:51:49 -07:00
led.h
linkage.h
machdep.h
mckinley.h parisc: Drop ifdef __KERNEL__ from non-uapi kernel headers 2021-11-01 07:36:00 +01:00
mmu.h parisc: Add vDSO support 2022-03-11 19:49:30 +01:00
mmu_context.h parisc: Use constants to encode the space registers like SR_KERNEL 2022-03-11 19:49:31 +01:00
mmzone.h
module.h
page.h parisc: Rewrite cache flush code for PA8800/PA8900 2022-05-17 21:52:47 +02:00
parisc-device.h parisc: Make struct parisc_driver::remove() return void 2021-08-30 10:18:25 +02:00
parport.h
patch.h
pci.h PCI: Remove pci_get_legacy_ide_irq() and asm-generic/pci.h 2022-07-22 17:23:45 -05:00
pdc.h parisc: Show MPE/iX model string at bootup 2022-12-19 16:08:52 +01:00
pdc_chassis.h treewide: remove editor modelines and cruft 2021-05-07 00:26:34 -07:00
pdcpat.h parisc: Add PDC locking functions for rendezvous code 2022-03-29 21:37:12 +02:00
perf.h
perf_event.h
pgalloc.h parisc: rename PGD_ORDER to PGD_TABLE_ORDER 2022-07-17 17:14:43 -07:00
pgtable.h parisc/mm: support __HAVE_ARCH_PTE_SWP_EXCLUSIVE 2023-02-02 22:33:09 -08:00
prefetch.h
processor.h kernel: exit: cleanup release_thread() 2022-09-11 21:55:07 -07:00
psw.h
ptrace.h parisc: Use PRIV_USER and PRIV_KERNEL in ptrace.h 2021-11-01 07:36:00 +01:00
ropes.h
rt_sigframe.h parisc: Add vDSO support 2022-03-11 19:49:30 +01:00
runway.h parisc: Drop ifdef __KERNEL__ from non-uapi kernel headers 2021-11-01 07:36:00 +01:00
seccomp.h parisc: Enable seccomp architecture tracking 2020-11-20 11:16:34 -08:00
sections.h asm-generic: Refactor dereference_[kernel]_function_descriptor() 2022-02-16 23:25:11 +11:00
serial.h
shmparam.h
signal.h signal/parisc: Remove parisc specific definition of __ARCH_UAPI_SA_FLAGS 2020-11-30 13:43:35 -06:00
smp.h parisc: Implement __cpu_die() and __cpu_disable() for CPU hotplugging 2022-03-29 21:37:12 +02:00
socket.h parisc: Define O_NONBLOCK to become 000200000 2020-10-15 08:10:38 +02:00
sparsemem.h
special_insns.h parisc: Add constants for control registers and clean up mfctl() 2022-03-29 21:37:12 +02:00
spinlock.h locking: Remove spin_lock_flags() etc 2021-10-30 16:37:28 +02:00
spinlock_types.h
string.h Revert "parisc: Add assembly implementations for memset, strlen, strcpy, strncpy and strcat" 2021-08-29 10:13:32 -07:00
superio.h
switch_to.h
syscall.h
thread_info.h parisc: move CPU field back into thread_info 2021-11-04 11:21:47 +01:00
timex.h parisc: define get_cycles macro for arch-override 2022-05-13 23:59:23 +02:00
tlb.h
tlbflush.h parisc: Add vDSO support 2022-03-11 19:49:30 +01:00
topology.h parisc: Switch from GENERIC_CPU_DEVICES to GENERIC_ARCH_TOPOLOGY 2022-03-29 21:37:12 +02:00
traps.h parisc: Fix handling off probe non-access faults 2022-03-11 19:49:30 +01:00
uaccess.h asm-generic updates for 5.18 2022-03-23 18:03:08 -07:00
ucontext.h
unaligned.h parisc: Drop ifdef __KERNEL__ from non-uapi kernel headers 2021-11-01 07:36:00 +01:00
unistd.h RISC-V Patches for the 5.19 Merge Window, Part 1 2022-05-31 14:10:54 -07:00
unwind.h
vdso.h parisc: Add vDSO support 2022-03-11 19:49:30 +01:00
vmalloc.h