Re: [PATCH v4 1/2] mm/memory_hotplug: Add support to accept memory during hot-add
From: Kiryl Shutsemau
Date: Fri Feb 06 2026 - 07:05:30 EST
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.
--
Kiryl Shutsemau / Kirill A. Shutemov