kernel - Add NUMA awareness to vm_page_alloc() and related functions
commitc7f9edd8f545dba40fb663144d65c3a7cdc64350
authorMatthew Dillon <dillon@apollo.backplane.com>
Fri, 6 Jan 2017 02:08:40 +0000 (5 18:08 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Fri, 6 Jan 2017 02:43:19 +0000 (5 18:43 -0800)
tree11be790538cfa0c791557ad990284119df3338b3
parent77c48adb9af1650ecf9315cfaa00344cd10628e1
kernel - Add NUMA awareness to vm_page_alloc() and related functions

* Add NUMA awareness to the kernel memory subsystem.  This first iteration
  will primarily affect user pages.  kmalloc and objcache are not
  NUMA-friendly yet (and its questionable how useful it would be to make
  them so).

* Tested with synth on monster (4-socket opteron / 48 cores) and a 2-socket
  xeon (32 threads).  Appears to dole out localized pages 5:1 to 10:1.
sys/kern/subr_cpu_topology.c
sys/platform/pc64/acpica/acpi_srat.c [new file with mode: 0644]
sys/platform/pc64/conf/files
sys/platform/pc64/include/smp.h
sys/platform/pc64/x86_64/mp_machdep.c
sys/platform/vkernel64/include/smp.h
sys/sys/kernel.h
sys/vm/vm_page.c
sys/vm/vm_page.h