git: df6241fcef9a - stable/13 - amd64: disable LA57 by default for now

Konstantin Belousov kib at FreeBSD.org
Mon May 3 01:38:41 UTC 2021


The branch stable/13 has been updated by kib:

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

commit df6241fcef9a8df76839caeaef61520d5f3a7925
Author:     Konstantin Belousov <kib at FreeBSD.org>
AuthorDate: 2021-04-28 15:50:16 +0000
Commit:     Konstantin Belousov <kib at FreeBSD.org>
CommitDate: 2021-05-03 01:27:22 +0000

    amd64: disable LA57 by default for now
    
    (cherry picked from commit 72a42ec63b4a98f812f5f6164415eeb9a55e1933)
---
 sys/amd64/amd64/pmap.c | 3 +--
 1 file changed, 1 insertion(+), 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;
 


More information about the dev-commits-src-all mailing list