Thread (39 messages) 39 messages, 6 authors, 12h ago

Re: [PATCH v3 15/19] mm/hugetlb_vmemmap: Move bootmem HVO setup to early init

From: Muchun Song <muchun.song@linux.dev>
Date: 2026-06-03 02:43:14
Also in: linux-mm, lkml

On Jun 2, 2026, at 23:41, Mike Rapoport [off-list ref] wrote:

On Tue, 02 Jun 2026 18:10:35 +0800, Muchun Song [off-list ref] wrote:
quoted
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?
Yes. Will update next version.
Other than that

Acked-by: Mike Rapoport (Microsoft) <rppt@kernel.org>
Thanks.
-- 
Sincerely yours,
Mike.
  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help