Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Aug 2025 08:23:16 GMT
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 2abf24b3698c - main - amd64: re-enable la57
Message-ID:  <202508170823.57H8NGbb051335@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=2abf24b3698c08c9fc906580fd5be67be65c9feb

commit 2abf24b3698c08c9fc906580fd5be67be65c9feb
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2025-08-16 00:37:18 +0000
Commit:     Konstantin Belousov <kib@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");



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202508170823.57H8NGbb051335>