]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Set LG_VADDR to 48 on RISC-V.
authorbrooks <brooks@FreeBSD.org>
Mon, 4 May 2020 17:16:30 +0000 (17:16 +0000)
committerbrooks <brooks@FreeBSD.org>
Mon, 4 May 2020 17:16:30 +0000 (17:16 +0000)
commit2db6d46b2034d39217d29555e2bd997036165992
treeda57d9fcfa8f87e4028fe60b7894e375a6856fee
parent0a14b40b73154deaf9643b58bf2ce809243b441a
Set LG_VADDR to 48 on RISC-V.

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.

Reviewed by: vangyzen, jhb, mhorne
Obtained from: CheriBSD
Sponsored by: DARPA
Differential Revision: https://reviews.freebsd.org/D24658
contrib/jemalloc/FREEBSD-diffs
contrib/jemalloc/include/jemalloc/jemalloc_FreeBSD.h