summaryrefslogtreecommitdiff
path: root/rts/posix/OSThreads.c
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2016-06-11 11:07:14 +0100
committerSimon Marlow <marlowsd@gmail.com>2016-06-17 14:52:45 +0100
commit498ed2664219f7e8f1077f46ad2061aba2f57de4 (patch)
tree123f66f55096876114b89876e4adf287ad944818 /rts/posix/OSThreads.c
parenta7f65b8787b0521397ee09061394425aa69bc6e0 (diff)
downloadhaskell-498ed2664219f7e8f1077f46ad2061aba2f57de4.tar.gz
NUMA cleanups
- Move the numaMap and nNumaNodes out of RtsFlags to Capability.c - Add a test to tests/rts
Diffstat (limited to 'rts/posix/OSThreads.c')
-rw-r--r--rts/posix/OSThreads.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/rts/posix/OSThreads.c b/rts/posix/OSThreads.c
index 35ea2bde21..112a311f79 100644
--- a/rts/posix/OSThreads.c
+++ b/rts/posix/OSThreads.c
@@ -321,7 +321,6 @@ setThreadAffinity (uint32_t n STG_UNUSED,
#if HAVE_LIBNUMA
void setThreadNode (uint32_t node)
{
- ASSERT(node < RtsFlags.GcFlags.nNumaNodes);
if (numa_run_on_node(node) == -1) {
sysErrorBelch("numa_run_on_node");
stg_exit(1);