On Monday 29 October 2007 20:35:58 Paul Jackson wrote:
So the user space asks for 8 nodes because it knows the machine
has that many from /sys and it only gets 4 if a cpuset says so? That's
just bad semantics. And is not likely to make the user programs happy.
I don't think you'll get around to teaching user space (or rather libnuma)
about cpusets and let it handle it.
From the libnuma perspective the machine size would be essentially
current cpuset size.
On the syscall level I don't think it makes much sense to change though.
The alternative would be to throw out the complete cpuset concept and go for
virtual nodes inside containers with virtualized /sys.
-Andi
-