Re: [PATCH 00/14] mm: memory hot(un)plug and SPARSEMEM cleanups
From: David Hildenbrand (Arm)
Date: Wed Mar 18 2026 - 15:57:30 EST
On 3/18/26 20:51, Andrew Morton wrote:
> 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
Yes. I'll respin later this week (only small nits and taking care of the
existing weirdness in scan_movable_pages() in a less ugly way).
--
Cheers,
David