diff options
author | David Hildenbrand <david@redhat.com> | 2023-01-13 20:10:06 +0300 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-02-03 09:33:07 +0300 |
commit | 61f4a896e62dee8581fea843479058507fda57fb (patch) | |
tree | 6546165715f8e64ff6c6500caeb7a302d7c79179 /arch/ia64/include | |
parent | 41e0d49104dbff888ef6446ea46842fde66c0a76 (diff) | |
download | linux-61f4a896e62dee8581fea843479058507fda57fb.tar.xz |
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 'arch/ia64/include')
0 files changed, 0 insertions, 0 deletions