aboutsummaryrefslogtreecommitdiff
path: root/usr
diff options
context:
space:
mode:
authorDavid Hildenbrand2023-01-13 18:10:23 +0100
committerAndrew Morton2023-02-02 22:33:10 -0800
commite2858d778e6832d8f58dc3b361f78bd9f03cd2dd (patch)
treee970a5149921607af0121b6c251dfa9cef05eae0 /usr
parentadf8e329ff56a873c789f797a69a330fb8c4ff9e (diff)
um/mm: support __HAVE_ARCH_PTE_SWP_EXCLUSIVE
Let's support __HAVE_ARCH_PTE_SWP_EXCLUSIVE by using bit 10, which is yet unused for swap PTEs. The pte_mkuptodate() is a bit weird in __pte_to_swp_entry() for a swap PTE ... but it only messes with bit 1 and 2 and there is a comment in set_pte(), so leave these bits alone. While at it, mask the type in __swp_entry(). Link: https://lkml.kernel.org/r/20230113171026.582290-24-david@redhat.com Signed-off-by: David Hildenbrand <david@redhat.com> Cc: Richard Weinberger <richard@nod.at> Cc: Anton Ivanov <anton.ivanov@cambridgegreys.com> Cc: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions