Re: [PATCH mm-unstable v1 19/26] riscv/mm: support __HAVE_ARCH_PTE_SWP_EXCLUSIVE

From: David Hildenbrand
Date: Tue Feb 28 2023 - 10:58:04 EST


On 28.02.23 16:50, Palmer Dabbelt wrote:
On Fri, 13 Jan 2023 09:10:19 PST (-0800), david@xxxxxxxxxx wrote:
Let's support __HAVE_ARCH_PTE_SWP_EXCLUSIVE by stealing one bit
from the offset. This reduces the maximum swap space per file: on 32bit
to 16 GiB (was 32 GiB).

Seems fine to me, I doubt anyone wants a huge pile of swap on rv32.

Patch is already upstream, so we can't add tags unfortunately. Thanks for the review!

--
Thanks,

David / dhildenb