Re: [PATCH v4 1/2] mm/memory_hotplug: Add support to accept memory during hot-add
From: Pratik R. Sampat
Date: Mon Feb 16 2026 - 09:45:50 EST
On 2/6/26 6:03 AM, Kiryl Shutsemau wrote:
On Thu, Feb 05, 2026 at 06:29:08PM +0100, David Hildenbrand (Arm) wrote:
Ideally, we want to know on boot:
- what memory ranges are unaccepted - we have it;
- what memory range can be removed or added after boot - we don't have it
The SRAT describes memory ranges where we can see hotplug memory. Is that
too late? We calculate max_possible_pfn based on that.
The cleanest way would be to declare the ranges in EFI memory map, not
SRAT. It should be doable.
Got it. I'm speaking to a few EFI folks on how that would work; if we'd
need a new type to specify this or we could piggyback off an existing
type with either the hotpluggable attribute or create a new one.
Thanks,
Pratik