[PATCH 1/2] RISC-V: mm: Restrict address space for sv39,sv48,sv57

Anup Patel anup at brainfault.org
Wed Jun 28 05:34:41 PDT 2023


On Wed, Jun 28, 2023 at 5:09 AM Charlie Jenkins <charlie at rivosinc.com> wrote:
>
> Yes it is small to have a default of 38-bits of userspace. I would be
> interesting in the opinions of other people on whether it would be
> acceptable to have the default be sv48 and require applications that
> prefer fewer bits to specify so with the given mmap hinting.

I think sv48 is a reasonable default instead of sv39. We should fallback
to sv39 only if the underlying host does not support sv48.

Regards,
Anup



More information about the linux-riscv mailing list