Fix numa001 failure with "too many NUMA nodes"
authorSimon Marlow <marlowsd@gmail.com>
Wed, 9 Nov 2016 11:02:12 +0000 (11:02 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Mon, 14 Nov 2016 14:43:35 +0000 (14:43 +0000)
commite0ca7ff3a9df3f746f0496ae274d669fc14a17dc
tree3e61877cd4a0ff7e9b8dce8dd351397fdef4c5cf
parent034e01e4b0a92240883b125e2362457932e785cf
Fix numa001 failure with "too many NUMA nodes"

It seems that recent versions of the Linux kernel are using larger NUMA
bitmasks; I see 1024 on my laptop running a 4.6.5 kernel.  This causes
the NUMA tests to fail.  I'm fixing it to only fail if we have that many
actual *nodes*, rather than failing if the size of the mask is too big.
rts/posix/OSMem.c