Re: [PATCH v5 12/17] mm/sparse: inline usemap allocation into sparse_init_nid()
From: David Hildenbrand (Arm)
Date: Wed Sep 09 2026 - 06:09:48 EST
On 8/25/26 10:46, Muchun Song wrote:
> After removing SPARSEMEM_VMEMMAP_PREINIT, sparse_init_nid() no longer
> needs the transient sparse_usagebuf state and its helper wrappers.
>
> Allocate the usemap buffer directly in sparse_init_nid(), pass it to
> sparse_init_one_section(), and drop sparse_usage_init(),
> sparse_usage_fini(), and sparse_init_early_section().
>
> Signed-off-by: Muchun Song <songmuchun@xxxxxxxxxxxxx>
> Acked-by: Mike Rapoport (Microsoft) <rppt@xxxxxxxxxx>
> ---
> v2:
> - Collect Acked-by from Mike Rapoport
> ---
Acked-by: David Hildenbrand (Arm) <david@xxxxxxxxxx>
--
Cheers,
David