diff options
author | David Hildenbrand <david@redhat.com> | 2023-01-13 18:10:06 +0100 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-02-02 22:33:07 -0800 |
commit | 61f4a896e62dee8581fea843479058507fda57fb (patch) | |
tree | 6546165715f8e64ff6c6500caeb7a302d7c79179 /virt | |
parent | 41e0d49104dbff888ef6446ea46842fde66c0a76 (diff) |
hexagon/mm: support __HAVE_ARCH_PTE_SWP_EXCLUSIVE
Let's support __HAVE_ARCH_PTE_SWP_EXCLUSIVE by stealing one bit from the
offset. This reduces the maximum swap space per file to 16 GiB (was 32
GiB).
While at it, mask the type in __swp_entry().
Link: https://lkml.kernel.org/r/20230113171026.582290-7-david@redhat.com
Signed-off-by: David Hildenbrand <david@redhat.com>
Cc: Brian Cain <bcain@quicinc.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions