• Palmer Dabbelt's avatar
    Merge patch series "RISC-V: mm: Make SV48 the default address space" · 94f00388
    Palmer Dabbelt authored
    Charlie Jenkins <charlie@rivosinc.com> says:
    
    Make sv48 the default address space for mmap as some applications
    currently depend on this assumption. Users can now select a
    desired address space using a non-zero hint address to mmap. Previously,
    requesting the default address space from mmap by passing zero as the hint
    address would result in using the largest address space possible. Some
    applications depend on empty bits in the virtual address space, like Go and
    Java, so this patch provides more flexibility for application developers.
    
    * b4-shazam-merge:
      RISC-V: mm: Document mmap changes
      RISC-V: mm: Update pgtable comment documentation
      RISC-V: mm: Add tests for RISC-V mm
      RISC-V: mm: Restrict address space for sv39,sv48,sv57
    
    Link: https://lore.kernel.org/r/20230809232218.849726-1-charlie@rivosinc.comSigned-off-by: default avatarPalmer Dabbelt <palmer@rivosinc.com>
    94f00388
elf.h 4.8 KB