git: f412a5c565de - main - powerpc: enable HPT superpages by default
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 16 Feb 2026 17:50:04 UTC
The branch main has been updated by adrian:
URL: https://cgit.FreeBSD.org/src/commit/?id=f412a5c565dedf5b6ea7cf3e43b57766ec0da63c
commit f412a5c565dedf5b6ea7cf3e43b57766ec0da63c
Author: Adrian Chadd <adrian@FreeBSD.org>
AuthorDate: 2026-02-16 17:49:46 +0000
Commit: Adrian Chadd <adrian@FreeBSD.org>
CommitDate: 2026-02-16 17:49:46 +0000
powerpc: enable HPT superpages by default
It's time to flip these on and see if anything happens in -HEAD.
It can be turned back off before 16.0-RELEASE if there are problems.
Reviewed by: jhibbits
Differential Revision: https://reviews.freebsd.org/D55071
---
sys/powerpc/aim/mmu_oea64.c | 9 ++-------
1 file changed, 2 insertions(+), 7 deletions(-)
diff --git a/sys/powerpc/aim/mmu_oea64.c b/sys/powerpc/aim/mmu_oea64.c
index a7042ffb02a9..7dfda5776a37 100644
--- a/sys/powerpc/aim/mmu_oea64.c
+++ b/sys/powerpc/aim/mmu_oea64.c
@@ -1921,13 +1921,8 @@ moea64_init(void)
NULL, NULL, NULL, NULL, UMA_ALIGN_PTR,
UMA_ZONE_VM | UMA_ZONE_NOFREE);
- /*
- * Are large page mappings enabled?
- *
- * While HPT superpages are not better tested, leave it disabled by
- * default.
- */
- superpages_enabled = 0;
+ /* Are large page mappings enabled? */
+ superpages_enabled = 1;
TUNABLE_INT_FETCH("vm.pmap.superpages_enabled", &superpages_enabled);
if (superpages_enabled) {
KASSERT(MAXPAGESIZES > 1 && pagesizes[1] == 0,