Searched hist:e75e2a14d5c13ad38dcf72b69922dee2dafbb0d0 (Results 1 – 1 of 1) sorted by relevance
/openbmc/qemu/include/sysemu/ |
H A D | numa.h | diff e75e2a14d5c13ad38dcf72b69922dee2dafbb0d0 Mon Jun 29 03:20:27 CDT 2015 Bharata B Rao <bharata@linux.vnet.ibm.com> numa: API to lookup NUMA node by address
Introduce an API numa_get_node(ram_addr_t addr, Error **errp) that returns the NUMA node to which the given address belongs to. This API works uniformly for both boot time as well as hotplugged memory.
This API is needed by sPAPR PowerPC to support ibm,dynamic-reconfiguration-memory device tree node which is needed for memory hotplug.
Signed-off-by: Bharata B Rao <bharata@linux.vnet.ibm.com> Reviewed-by: David Gibson <david@gibson.dropbear.id.au> Tested-by: Igor Mammedov <imammedo@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
|