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

From: Peter Zijlstra
Date: Thu Nov 26 2009 - 13:54:08 EST


On Thu, 2009-11-26 at 19:39 +0100, Christian Ehrhardt wrote:
> Looks very promising, I did not expect it would be so easy to hook up to
> the hotplug events, but you're absolutley right the scheduler already
> has hooks for that with rq_online/offline.
> From looking at the patch alone I expect it will loose user updates to
> sysfs. Might just need adding some feedback from the sysctl writer
> functions to set the default values to setval/1+ilog2; that includes
> renaming default to "normalized" or somethng like that. But I'll test
> this patch in depth tomorrow morning anyway and give more detailed feedback.

Yeah, its needs better integration with the sysctl bits and such, but it
shows the general shape and form of things.



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