Re: [PATCH v3 15/19] mm/hugetlb_vmemmap: Move bootmem HVO setup to early init
From: Usama Arif <hidden>
Date: 2026-06-03 12:35:47
Also in:
linux-mm, lkml
From: Usama Arif <hidden>
Date: 2026-06-03 12:35:47
Also in:
linux-mm, lkml
On 03/06/2026 13:24, Muchun Song wrote:
On 2026/6/3 20:02, Usama Arif wrote:quoted
On Tue, 2 Jun 2026 18:10:35 +0800 Muchun Song [off-list ref] wrote:quoted
Bootmem HugeTLB pages currently defer HVO setup to hugetlb_vmemmap_init_late(), because the optimization needs zone information. Now that zone initialization is available earlier, the bootmem HVO setup can be done directly from hugetlb_vmemmap_init_early(). This lets gigantic HugeTLB pages apply HVO as soon as they are allocated. Bootmem gigantic pages that span multiple zones are now filtered out when they are allocated, so the remaining bootmem gigantic pages seen by later hugetlb initialization are already zone-valid. As a result, hugetlb_vmemmap_init_late() no longer needs to handle bootmem HVO setup. Signed-off-by: Muchun Song <redacted> ---
Acked-by: Usama Arif <redacted>