aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2021-04-28 15:50:16 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2021-05-03 01:27:22 +0000
commitdf6241fcef9a8df76839caeaef61520d5f3a7925 (patch)
tree8ee41d08ae0e649d3e072e04566b1fe6875fd941
parentdd93a6270db30ca9ff07a108b0173368c8bf97e3 (diff)
downloadsrc-df6241fcef9a.tar.gz
src-df6241fcef9a.zip
amd64: disable LA57 by default for now
(cherry picked from commit 72a42ec63b4a98f812f5f6164415eeb9a55e1933)
-rw-r--r--sys/amd64/amd64/pmap.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/amd64/amd64/pmap.c b/sys/amd64/amd64/pmap.c
index 54dbadfb95c3..1fb81384f11e 100644
--- a/sys/amd64/amd64/pmap.c
+++ b/sys/amd64/amd64/pmap.c
@@ -2015,8 +2015,7 @@ pmap_bootstrap_la57(void *arg __unused)
if ((cpu_stdext_feature2 & CPUID_STDEXT2_LA57) == 0)
return;
- if (!TUNABLE_INT_FETCH("vm.pmap.la57", &la57))
- la57 = 1;
+ TUNABLE_INT_FETCH("vm.pmap.la57", &la57);
if (!la57)
return;