On 3/5/2026 1:19 AM, Gregory Price wrote:
On Thu, Feb 26, 2026 at 06:50:23PM +0800, fanhuang wrote:
Add a 'memmap-type' option to NUMA node configuration that allows
specifying the memory type for a NUMA node.
Supported values:
- normal: Regular system RAM (E820 type 1, default)
- spm: Specific Purpose Memory (E820 type 0xEFFFFFFF)
- reserved: Reserved memory (E820 type 2)
The 'spm' type indicates Specific Purpose Memory - a hint to the guest
that this memory might be managed by device drivers based on guest policy.
The 'reserved' type marks memory as not usable as RAM.
Note: This option is only supported on x86 platforms.
Usage:
-numa node,nodeid=1,memdev=m1,memmap-type=spm
Signed-off-by: fanhuang <[email protected]>
Thank you for the reworks!
I will set up a test soon, and this will actually help me with my other
work, so it's much appreciated.
Reviewed-by: Gregory Price <[email protected]>
Hi David, Gregory,
Thank you both for the review and the Acked-by / Reviewed-by!
Really appreciate all the feedback and guidance from you and the
other reviewers throughout this patch series. It helped shape the
design significantly.
Thanks,
Jerry Huang