Re: cpusets not cpu hotplug aware

From: Andrew Morton
Date: Tue Aug 22 2006 - 01:12:42 EST


On Mon, 21 Aug 2006 22:06:25 -0700
Paul Jackson <pj@xxxxxxx> wrote:

> Andrew wrote:
> > If the kernel provider (ie: distro) has enabled cpusets then it would be
> > appropriate that they also provide a hotplug script which detects whether their
> > user is actually using cpusets and if not, to take some sensible default action
>
> Interesting point - whether the default action to fix up the
> cpuset configuration when a CPU goes on or offline should be:
> 1) coded in kernel/cpuset.c, or
> 2) coded in a hotplug script.
>
> I've got 25 cents that says Andrew votes for (2).
>
> At least so far as the cpuset aware portion of the coding goes,
> it would probably be easier for me to code in a hotplug script.
>
> I should learn enough about how hotplug scripts work to see if
> this will really work.
>

Well... let's suck it and see (please). If for some reason it proves
inadequate and the default kernel behaviour is significantly wrong (it
seems to be) then there's an argument for modifying (ie: adding complexity
to) the kernel.

But I don't think we yet know that.
-
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/