summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorDavid Hildenbrand <david@redhat.com>2023-01-13 20:10:05 +0300
committerAndrew Morton <akpm@linux-foundation.org>2023-02-03 09:33:06 +0300
commit41e0d49104dbff888ef6446ea46842fde66c0a76 (patch)
tree80f4e075cc2fa864733031c9d47d124e03de5dba /arch/arm
parent20aae9eff5acd8f50f72adca1176f9269a46b827 (diff)
downloadlinux-41e0d49104dbff888ef6446ea46842fde66c0a76.tar.xz
csky/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). We might actually be able to reuse one of the other software bits (_PAGE_READ / PAGE_WRITE) instead, because we only have to keep pte_present(), pte_none() and HW happy. For now, let's keep it simple because there might be something non-obvious. Link: https://lkml.kernel.org/r/20230113171026.582290-6-david@redhat.com Signed-off-by: David Hildenbrand <david@redhat.com> Cc: Guo Ren <guoren@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'arch/arm')
0 files changed, 0 insertions, 0 deletions