On 03/06/2026 13:24, Muchun Song wrote: > > > On 2026/6/3 20:02, Usama Arif wrote: >> On Tue, 2 Jun 2026 18:10:35 +0800 Muchun Song <[email protected]> >> wrote: >> >>> 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 <[email protected]> >>> --- Acked-by: Usama Arif <[email protected]>
- [PATCH v3 12/19] mm/hugetlb_cma: Validate hugetlb CMA range ... Muchun Song
- [PATCH v3 13/19] mm/hugetlb: Refactor early boot gigantic hu... Muchun Song
- [PATCH v3 14/19] mm/hugetlb: Free cross-zone bootmem giganti... Muchun Song
- [PATCH v3 15/19] mm/hugetlb_vmemmap: Move bootmem HVO setup ... Muchun Song
- Re: [PATCH v3 15/19] mm/hugetlb_vmemmap: Move bootmem H... Mike Rapoport
- Re: [PATCH v3 15/19] mm/hugetlb_vmemmap: Move bootmem H... Usama Arif
- Re: [PATCH v3 15/19] mm/hugetlb_vmemmap: Move bootm... Muchun Song
- Re: [PATCH v3 15/19] mm/hugetlb_vmemmap: Move b... Usama Arif
- [PATCH v3 16/19] mm/hugetlb: Remove obsolete bootmem cross-z... Muchun Song
- [PATCH v3 17/19] mm/sparse-vmemmap: Remove sparse_vmemmap_in... Muchun Song
- [PATCH v3 18/19] mm/hugetlb: Remove unused bootmem cma field Muchun Song
- [PATCH v3 19/19] mm/mm_init: Fold __init_page_from_nid() int... Muchun Song
- Re: [PATCH v3 19/19] mm/mm_init: Fold __init_page_from_... Mike Rapoport
- Re: [PATCH v3 19/19] mm/mm_init: Fold __init_page_from_... Mike Rapoport
