summaryrefslogtreecommitdiffstats
path: root/sys/dev/acpica/acpivar.h
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2016-04-09 13:58:04 +0000
committerjhb <jhb@FreeBSD.org>2016-04-09 13:58:04 +0000
commit6beb82443a9241c4c9035f9b1df9d1358154592c (patch)
treecd8ee1473372af94096c75121cdad26c77602e58 /sys/dev/acpica/acpivar.h
parentae5846b336d36050c2a80b867d117f4bf2f3d907 (diff)
downloadFreeBSD-src-6beb82443a9241c4c9035f9b1df9d1358154592c.zip
FreeBSD-src-6beb82443a9241c4c9035f9b1df9d1358154592c.tar.gz
Add more fine-grained kernel options for NUMA support.
VM_NUMA_ALLOC is used to enable use of domain-aware memory allocation in the virtual memory system. DEVICE_NUMA is used to enable affinity reporting for devices such as bus_get_domain(). MAXMEMDOM must still be set to a value greater than for any NUMA support to be effective. Note that 'cpuset -gd' always works if MAXMEMDOM is enabled and the system supports NUMA. Reviewed by: kib Differential Revision: https://reviews.freebsd.org/D5782
Diffstat (limited to 'sys/dev/acpica/acpivar.h')
-rw-r--r--sys/dev/acpica/acpivar.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/acpica/acpivar.h b/sys/dev/acpica/acpivar.h
index 4df83d5..3ee7ab3 100644
--- a/sys/dev/acpica/acpivar.h
+++ b/sys/dev/acpica/acpivar.h
@@ -502,9 +502,7 @@ SYSCTL_DECL(_debug_acpi);
*
* Returns the VM domain ID if found, or -1 if not found / invalid.
*/
-#if MAXMEMDOM > 1
extern int acpi_map_pxm_to_vm_domainid(int pxm);
-#endif
extern int acpi_get_domain(device_t dev, device_t child, int *domain);
extern int acpi_parse_pxm(device_t dev, int *domain);
OpenPOWER on IntegriCloud