Re: [PATCH v3 15/19] mm/hugetlb_vmemmap: Move bootmem HVO setup to early init
From: Mike Rapoport <rppt@kernel.org>
Date: 2026-06-02 15:41:50
Also in:
linux-mm, lkml
From: Mike Rapoport <rppt@kernel.org>
Date: 2026-06-02 15:41:50
Also in:
linux-mm, lkml
On Tue, 02 Jun 2026 18:10:35 +0800, Muchun Song [off-list ref] wrote:
diff --git a/mm/hugetlb_vmemmap.c b/mm/hugetlb_vmemmap.c index ea6af85bfec1..464578ee246e 100644 --- a/mm/hugetlb_vmemmap.c +++ b/mm/hugetlb_vmemmap.c@@ -745,6 +745,8 @@ static bool vmemmap_should_optimize_bootmem_page(struct huge_bootmem_page *m) return true; } +static struct zone *pfn_to_zone(unsigned nid, unsigned long pfn); +
Can we please move the entire function rather than add a forward declaration? Other than that Acked-by: Mike Rapoport (Microsoft) <rppt@kernel.org> -- Sincerely yours, Mike.