Re: [PATCH 00/14] mm: memory hot(un)plug and SPARSEMEM cleanups

From: Andrew Morton

Date: Wed Mar 18 2026 - 15:55:01 EST


On Tue, 17 Mar 2026 17:56:38 +0100 "David Hildenbrand (Arm)" <david@xxxxxxxxxx> wrote:

> Some cleanups around memory hot(un)plug and SPARSEMEM. In essence,
> we can limit CONFIG_MEMORY_HOTPLUG to CONFIG_SPARSEMEM_VMEMMAP,
> remove some dead code, and move all the hotplug bits over to
> mm/sparse-vmemmap.c.
>
> Some further/related cleanups around other unnecessary code
> (memory hole handling and complicated usemap allocation).
>
> I have some further sparse.c cleanups lying around, and I'm planning
> on getting rid of bootmem_info.c entirely.

Added to mm-new, thanks.

Sashiko said a few things, as I expect you've seen:
https://sashiko.dev/#/patchset/20260317165652.99114-1-david%40kernel.org