On 15.09.23 16:52, Igor Mammedov wrote:
On Thu, 14 Sep 2023 19:45:58 -0700
<ank...@nvidia.com> wrote:

From: Ankit Agrawal <ank...@nvidia.com>

During bootup, Linux kernel parse the ACPI SRAT to determine the PXM ids.
This allows for the creation of NUMA nodes for each unique id.

Insert a series of the unique PXM ids in the VM SRAT ACPI table. The
range of nodes can be determined from the "dev_mem_pxm_start" and
"dev_mem_pxm_count" object properties associated with the device. These
nodes as made MEM_AFFINITY_HOTPLUGGABLE. This allows the kernel to create
memory-less NUMA nodes on bootup to which a subrange (or entire range) of
device memory can be added/removed.

QEMU already has 'memory devices'. perhaps this case belongs to the same class
CCing David.

There is demand for something similar for memory devices (DIMMs, virtio-mem) as well.

--
Cheers,

David / dhildenb


Reply via email to