linux/drivers/acpi/numa
Dan Williams b2ca916ce3 ACPI: NUMA: Up-level "map to online node" functionality
The acpi_map_pxm_to_online_node() helper is used to find the closest
online node to a given proximity domain. This is used to map devices in
a proximity domain with no online memory or cpus to the closest online
node and populate a device's 'numa_node' property. The numa_node
property allows applications to be migrated "close" to a resource.

In preparation for providing a generic facility to optionally map an
address range to its closest online node, or the node the range would
represent were it to be onlined (target_node), up-level the core of
acpi_map_pxm_to_online_node() to a generic mm/numa helper.

Cc: Michal Hocko <mhocko@suse.com>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Link: https://lore.kernel.org/r/158188324802.894464.13128795207831894206.stgit@dwillia2-desk3.amr.corp.intel.com
2020-02-17 10:49:06 -08:00
..
hmat.c ACPI: HMAT: use %u instead of %d to print u32 values 2019-11-12 10:05:57 +01:00
Kconfig ACPI: NUMA: HMAT: Register "soft reserved" memory as an "hmem" device 2019-11-07 15:45:23 +01:00
Makefile ACPI: NUMA: Establish a new drivers/acpi/numa/ directory 2019-11-07 15:43:38 +01:00
srat.c ACPI: NUMA: Up-level "map to online node" functionality 2020-02-17 10:49:06 -08:00