Re: Regression in 2.6.23-rc2-mm2, mounting cpusets causes a hang

From: Paul Jackson
Date: Wed Aug 15 2007 - 12:33:23 EST


Serge wrote:
> Paul, is the mems stuff in cpusets only really useful for NUMA cases?

I haven't been following this closely, but offhand, my take is that:
1) CONFIG_CPUSETS is primarily useful on SMP or NUMA systems.
2) It can be configured on non-NUMA systems (it still seems to
need CONFIG_SMP ... not sure why.)
3) Kernels configured for CONFIG_CPUSETS can be (and often are)
run on systems with just one CPU, or just one memory node.
4) To the user, running a CONFIG_CPUSETS enabled kernel w/o
CONFIG_NUMA, or on a system with just one memory node
should allow all the usual CPUSET operations, as if
one just had one memory node, number '0'.

If all systems in our universe only had one memory node, then
cpusets wouldn't do memory -- it would not be useful.

But for consistency of interface between various configured systems,
it is useful to have cpusets working the same across both NUMA and
non-NUMA systems. Some systems just happen to have only one memory
node.

--
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <pj@xxxxxxx> 1.925.600.0401
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/