git: 31c3770ee5b7 - main - powerpc/mmu: Actually use the Radix pmap_align_superpage function

Justin Hibbits jhibbits at FreeBSD.org
Tue May 11 02:26:21 UTC 2021


The branch main has been updated by jhibbits:

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

commit 31c3770ee5b7017ecee79ff9b98db915f2b97653
Author:     Justin Hibbits <jhibbits at FreeBSD.org>
AuthorDate: 2021-05-11 02:23:04 +0000
Commit:     Justin Hibbits <jhibbits at FreeBSD.org>
CommitDate: 2021-05-11 02:26:14 +0000

    powerpc/mmu: Actually use the Radix pmap_align_superpage function
    
    This was missed in the conversion to ifuncs.  It might help improve
    promotion rates.
---
 sys/powerpc/aim/mmu_radix.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys/powerpc/aim/mmu_radix.c b/sys/powerpc/aim/mmu_radix.c
index bb43b64febff..5c1bd6e7ea02 100644
--- a/sys/powerpc/aim/mmu_radix.c
+++ b/sys/powerpc/aim/mmu_radix.c
@@ -512,6 +512,7 @@ static struct pmap_funcs mmu_radix_methods = {
 	.dumpsys_map_chunk = mmu_radix_dumpsys_map,
 	.page_is_mapped = mmu_radix_page_is_mapped,
 	.ps_enabled = mmu_radix_ps_enabled,
+	.align_superpage = mmu_radix_align_superpage,
 	.object_init_pt = mmu_radix_object_init_pt,
 	.protect = mmu_radix_protect,
 	/* pmap dispatcher interface */


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