git: 9114e15a8694 - main - amd64: re-enable la57, try two
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 09 Dec 2024 04:23:31 UTC
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;