The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=2abf24b3698c08c9fc906580fd5be67be65c9feb
commit 2abf24b3698c08c9fc906580fd5be67be65c9feb Author: Konstantin Belousov <k...@freebsd.org> AuthorDate: 2025-08-16 00:37:18 +0000 Commit: Konstantin Belousov <k...@freebsd.org> CommitDate: 2025-08-17 08:09:24 +0000 amd64: re-enable la57 It benefits KVA. For userspace la57 is disabled by default for quite some time, to avoid compat issues. Reviewed by: alc, imp, olce Sponsored by: The FreeBSD Foundation Differential revision: https://reviews.freebsd.org/D51929 --- sys/amd64/amd64/pmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/amd64/amd64/pmap.c b/sys/amd64/amd64/pmap.c index 243a6625bece..9867bb7fdbac 100644 --- a/sys/amd64/amd64/pmap.c +++ b/sys/amd64/amd64/pmap.c @@ -424,7 +424,7 @@ static int __read_frequently pg_ps_enabled = 1; SYSCTL_INT(_vm_pmap, OID_AUTO, pg_ps_enabled, CTLFLAG_RDTUN | CTLFLAG_NOFETCH, &pg_ps_enabled, 0, "Are large page mappings enabled?"); -int __read_frequently la57 = 0; +int __read_frequently la57 = 1; SYSCTL_INT(_vm_pmap, OID_AUTO, la57, CTLFLAG_RDTUN | CTLFLAG_NOFETCH, &la57, 0, "5-level paging for host is enabled");