summaryrefslogtreecommitdiff
path: root/includes/rts/Flags.h
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 /includes/rts/Flags.h
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 'includes/rts/Flags.h')
-rw-r--r--includes/rts/Flags.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/includes/rts/Flags.h b/includes/rts/Flags.h
index e229aa12b1..c66aed90a3 100644
--- a/includes/rts/Flags.h
+++ b/includes/rts/Flags.h
@@ -73,9 +73,7 @@ typedef struct _GC_FLAGS {
*/
rtsBool numa; /* Use NUMA */
- uint32_t nNumaNodes; /* Number of nodes */
- uint32_t numaMap[MAX_NUMA_NODES]; /* Map our internal node numbers to OS
- * node numbers */
+ StgWord numaMask;
} GC_FLAGS;
/* See Note [Synchronization of flags and base APIs] */