Re: Missing recalculation of scheduler tunables in case of cpu hotadd/remove

From: Peter Zijlstra
Date: Thu Nov 26 2009 - 11:22:46 EST


On Thu, 2009-11-26 at 17:10 +0100, Christian Ehrhardt wrote:
> We might store the corresponding 1cpu values in hidden variables and
> rescale the effective ones on every cpu add/remove.
> Additionally there would be the need for some logic to update the
> corresponding 1cpu values every time a user sets new values via the proc
> interface.

If you're going to do something like that, setting it based on the
number of cpus in the root_domain might be a better solution.

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