Re: [PATCH v3 06/11] mm/hugetlb: initialize all struct pages for bootmem hugepages
From: Mike Rapoport
Date: Sun Nov 22 2026 - 10:45:37 EST
On Fri, 20 Nov 2026 18:08:51 +0800, Muchun Song <songmuchun@xxxxxxxxxxxxx> wrote:
> Boot-time gigantic hugepages currently leave the head struct page to
> the generic memmap initialization path while the HugeTLB code
> initializes the remaining struct pages itself.
>
> Mark the full hugepage noinit and initialize the head struct page in
> hugetlb_folio_init_vmemmap() as well, so the whole compound-page setup
> is handled in one place.
>
> [...]
Acked-by: Mike Rapoport (Microsoft) <rppt@xxxxxxxxxx>
--
Sincerely yours,
Mike.