Re: [PATCH v5 11/17] mm/sparse-vmemmap: remove SPARSEMEM_VMEMMAP_PREINIT support

From: David Hildenbrand (Arm)

Date: Wed Sep 09 2026 - 06:04:20 EST


On 8/25/26 10:46, Muchun Song wrote:
> SPARSEMEM_VMEMMAP_PREINIT existed only to support HugeTLB's early
> vmemmap optimization setup.
>
> Now that HugeTLB bootmem vmemmap optimization uses the common
> section-based sparse-vmemmap path, the sparse initialization code no
> longer needs a separate pre-initialization mechanism for vmemmap
> population.
>
> Remove the related Kconfig symbols, section flag, and empty early hook,
> so present sections always go through the normal sparse setup path.
>
> Signed-off-by: Muchun Song <songmuchun@xxxxxxxxxxxxx>
> Acked-by: Mike Rapoport (Microsoft) <rppt@xxxxxxxxxx>
> ---

Acked-by: David Hildenbrand (Arm) <david@xxxxxxxxxx>

--
Cheers,

David