Add NUMA and thread affinity support for Unix (#10938)
authorJan Vorlicek <janvorli@microsoft.com>
Wed, 19 Apr 2017 22:13:30 +0000 (15:13 -0700)
committerGitHub <noreply@github.com>
Wed, 19 Apr 2017 22:13:30 +0000 (15:13 -0700)
commit48ebab8270a96e505a2be128a4875f903ef1c4b2
tree78313aeb604ebecf715e6f4a5c2cd8b3a1ee907b
parent9b9989da73f4ee8de5d3c1257d46f8d7295dc44f
Add NUMA and thread affinity support for Unix (#10938)

* Add NUMA and thread affinity support for Unix

This change adds new PAL functions for NUMA and thread affinity support
for Unix and also enables related code in GC and VM for FEATURE_PAL.

It doesn't reflect the limits imposed by CGROUPS on systems with
CGROUPS enables yet.
15 files changed:
src/dlls/mscordac/mscordac_unixexports.src
src/gc/gc.cpp
src/inc/utilcode.h
src/pal/inc/pal.h
src/pal/src/CMakeLists.txt
src/pal/src/config.h.in
src/pal/src/configure.cmake
src/pal/src/include/pal/dbgmsg.h
src/pal/src/include/pal/numa.h [new file with mode: 0644]
src/pal/src/init/pal.cpp
src/pal/src/map/virtual.cpp
src/pal/src/misc/sysinfo.cpp
src/pal/src/numa/numa.cpp [new file with mode: 0644]
src/utilcode/util.cpp
src/vm/gcenv.os.cpp