Re: [PATCH v5 00/36] Private Memory NUMA Nodes

From: Gregory Price

Date: Fri Aug 14 2026 - 09:28:04 EST


On Thu, Aug 13, 2026 at 10:55:13AM +0200, Pankaj Gupta wrote:
> >
> > A device driver could very well just call memory-hotplug directly,
> > or its memory could be brought up as a private node via a boot
> > paremeter (which I have sculpted for v7). The former is preferred,
> > but there's a bit of a chicken/egg scenario for bootstrapping.
>
> I find this interesting as this appears to be evolving towards a vendor
> agnostic framework for hotplugging memory directly to private nodes.
>

Agnostic would depend on a common standard for such devices. Otherwise,
there is still a need for per-device drivers - but hopefully the
interaction itself can be generalized.

> How you see this working? In particular, How would the kernel know which
> memory ranges correspond to HBM or other device memory?
>

Device marks the region reserved at boot, driver hotplugs.

or

Device marks the region normal, but boot param sets the node private.

> Please also CC me when you post v7: pankaj.gupta@xxxxxxx
>

Sure

~Gregory