Re: [PATCH 12/17] mm/sparse: inline usemap allocation into sparse_init_nid()

From: Mike Rapoport

Date: Wed Jul 15 2026 - 01:12:49 EST


On Thu, 02 Jul 2026 17:38:16 +0800, Muchun Song <songmuchun@xxxxxxxxxxxxx> 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().
>
> [...]

Acked-by: Mike Rapoport (Microsoft) <rppt@xxxxxxxxxx>

--
Sincerely yours,
Mike.