Re: [PATCH] CPUSETS: remove SMP dependency

From: Magnus Damm
Date: Wed Oct 26 2005 - 22:33:56 EST


On 10/27/05, Paul Jackson <pj@xxxxxxx> wrote:
> Andrew, responding to Magnus:
> > > Remove the SMP dependency from CPUSETS.
> >
> > Why?
>
> As described in the posting that Magnus linked to, it seemed to me
> like the cleaner approach - if there is no need to link two CONFIG
> options, then don't.
>
> Perhaps someone wants to build a uni-processor (UP) kernel for other
> reasons, but still have it support running some stuff that depends
> on cpusets being present.

Exactly, and the current Kconfig assumes that all NUMA systems are
configured with SMP. But that does not have to be the case, especially
with NUMA_EMU.

Depending on SMP only is wrong IMO because CPUSETS manages both sets
of cpus (SMP) and sets of mems (NUMA).

So CPUSETS should either depend on SMP || NUMA or nothing.

/ magnus
-
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/