Page MenuHomeFreeBSD

Set LG_VADDR to 48 on RISC-V.

Authored by brooks on May 1 2020, 10:08 PM.



The Sv48 PTE format is the largest currently defined address space for
RISC-V. It makes no sense to define a larger size and doing so (at
least for 64-bits) forces rtrees down a slow path.

Diff Detail

rS FreeBSD src repository
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

brooks created this revision.

There should likely be a corresponding change to the configure script upstream (probably duplicating the arm64 case).

This revision is now accepted and ready to land.May 1 2020, 10:18 PM
This revision was automatically updated to reflect the committed changes.