Fix several issues
authorJan Vorlicek <janvorli@microsoft.com>
Tue, 9 Apr 2019 00:50:28 +0000 (02:50 +0200)
committerJan Vorlicek <janvorli@microsoft.com>
Tue, 9 Apr 2019 01:16:24 +0000 (03:16 +0200)
commit6ece1ed51e235f5fdd196b8f65359619773b31b2
tree719a27b8b38fcf2161ac6a942cdd9bc2a3adf790
parenta7ddf7d1fefdd498608a695158d44447cebfb02e
Fix several issues

* Fix build on OSX and Linux machines without NUMA installed - there were
couple of places where I was missing ifdefs
* Fix bug in nodeMaskLength computation
* Remove testing change in eeconfig.cpp that has leaked into the PR
* Fix GCToOSInterface::GetTotalProcessorCount for embedded GC to return
all processors on the system, not just the ones enabled for the current
process.

Commit migrated from https://github.com/dotnet/coreclr/commit/cee1a8c9d9c6669318d1567c85457fbcd642587d
src/coreclr/src/dlls/mscordac/mscordac_unixexports.src
src/coreclr/src/gc/unix/gcenv.unix.cpp
src/coreclr/src/pal/inc/pal.h
src/coreclr/src/pal/src/include/pal/palinternal.h
src/coreclr/src/pal/src/misc/sysinfo.cpp
src/coreclr/src/pal/src/numa/numa.cpp
src/coreclr/src/pal/src/thread/thread.cpp
src/coreclr/src/vm/eeconfig.cpp
src/coreclr/src/vm/gcenv.os.cpp