Date: Tue, 8 Apr 2025 13:40:45 GMT From: Olivier Certner <olce@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: c7360214579b - stable/14 - powerpc: mmu_radix_page_array_startup(): Don't force allocation from domain 0 Message-ID: <202504081340.538DejdK030824@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/14 has been updated by olce: URL: https://cgit.FreeBSD.org/src/commit/?id=c7360214579b72bb111a795e03b80c315ffdc38b commit c7360214579b72bb111a795e03b80c315ffdc38b Author: Olivier Certner <olce@FreeBSD.org> AuthorDate: 2025-02-07 15:24:10 +0000 Commit: Olivier Certner <olce@FreeBSD.org> CommitDate: 2025-04-08 13:38:22 +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 (cherry picked from commit 0ebd9cf85d3627e50e6a7330b67719fce4d1a5fe) --- 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 b904978e042c..038be6fa828d 100644 --- a/sys/powerpc/aim/mmu_radix.c +++ b/sys/powerpc/aim/mmu_radix.c @@ -6392,7 +6392,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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202504081340.538DejdK030824>
