The branch main has been updated by olce: URL: https://cgit.FreeBSD.org/src/commit/?id=0ebd9cf85d3627e50e6a7330b67719fce4d1a5fe
commit 0ebd9cf85d3627e50e6a7330b67719fce4d1a5fe Author: Olivier Certner <o...@freebsd.org> AuthorDate: 2025-02-07 15:24:10 +0000 Commit: Olivier Certner <o...@freebsd.org> CommitDate: 2025-02-19 14:13:28 +0000 powerpc: mmu_radix_page_array_startup(): Don't force allocation from domain 0 In this case, the domain from which the memory to back the VM page array is allocated does not matter, so just let vm_phys_early_alloc() choose a suitable domain. Reviewed by: jhibbits, markj MFC after: 1 week Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D48888 --- sys/powerpc/aim/mmu_radix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/powerpc/aim/mmu_radix.c b/sys/powerpc/aim/mmu_radix.c index 0a38ad97ad91..388ab386b35a 100644 --- a/sys/powerpc/aim/mmu_radix.c +++ b/sys/powerpc/aim/mmu_radix.c @@ -6438,7 +6438,7 @@ mmu_radix_page_array_startup(long pages) start = VM_MIN_KERNEL_ADDRESS; end = start + pages * sizeof(struct vm_page); - pa = vm_phys_early_alloc(0, end - start); + pa = vm_phys_early_alloc(-1, end - start); start = mmu_radix_map(&start, pa, end - start, VM_MEMATTR_DEFAULT); #ifdef notyet