Re: [RFC PATCH 00/11] mm: NUMA-aware boot memory carving (extmem)
From: Dave Hansen
Date: Wed Dec 02 2026 - 19:35:07 EST
On 12/1/26 16:19, Suseendran Bhaskaran wrote:
> Many server workloads need a portable, NUMA-aware way to carve out large
> aligned regions of DRAM at boot -- keeping only a modest pool of System
> RAM per NUMA node for the host kernel while handing the rest off to
> external memory consumers outside the buddy allocator and boot vmemmap.
I think this jumps to the solution space far too quickly. What is the
actual goal? What does the carve-out achieve?
Do you just want to do your own memory allocation? Are you trying to
reduce 'struct page' overhead?
> - Runtime memory offlining cannot guarantee 1 GiB physical contiguity
> after early allocations (and boot RAM cannot be offlined on arm64).
Could you talk a bit more about this, please? You're talking about
limitations of the existing implementation, right? Why, for instance, is
enhancing runtime memory offlining to fix this not an option?