summaryrefslogtreecommitdiff
path: root/include/linux/component.h
diff options
context:
space:
mode:
authorDavid Hildenbrand <david@redhat.com>2023-01-13 18:10:16 +0100
committerAndrew Morton <akpm@linux-foundation.org>2023-02-02 22:33:09 -0800
commit6d239fc78c0b0c687e5408573350714e6e789d71 (patch)
treebad7e6a685afd5f0b92283fcf7136545634e4825 /include/linux/component.h
parent5ae3e74474f82613482ed67b0c234f61ac6ca2dd (diff)
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>
Diffstat (limited to 'include/linux/component.h')
0 files changed, 0 insertions, 0 deletions