Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Dec 2024 04:23:31 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: 9114e15a8694 - main - amd64: re-enable la57, try two
Message-ID:  <202412090423.4B94NV1V094637@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=9114e15a86949f7d168bf09dbe78a340d5444e80

commit 9114e15a86949f7d168bf09dbe78a340d5444e80
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2024-12-09 03:40:33 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2024-12-09 04:06:24 +0000

    amd64: re-enable la57, try two
    
    If you need to use libc with jemalloc without commit
    eade2001aa9d91440886de8359a4dec9edcde2a9 (head, or
    b90d68c9b28b0a458bdf4a963397817974ed0f90 stable/14), you have to set
    vm.pmap.la57 to 0 for system-global effect, or use proccontrol -m la48
    on affected image.
    
    Sponsored by:   The FreeBSD Foundation
---
 sys/amd64/amd64/pmap.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys/amd64/amd64/pmap.c b/sys/amd64/amd64/pmap.c
index 82110e61d54a..265d48e26c0b 100644
--- a/sys/amd64/amd64/pmap.c
+++ b/sys/amd64/amd64/pmap.c
@@ -2182,6 +2182,7 @@ pmap_bootstrap_la57(void *arg __unused)
 
 	if ((cpu_stdext_feature2 & CPUID_STDEXT2_LA57) == 0)
 		return;
+	la57 = 1;
 	TUNABLE_INT_FETCH("vm.pmap.la57", &la57);
 	if (!la57)
 		return;



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