From: Vincent Guittot Date: Mon, 12 Dec 2011 19:21:08 +0000 (+0100) Subject: sched: Ensure cpu_power periodic update X-Git-Tag: v3.4-rc1~191^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ec4412e1e91f44a3dcb97b6c9172a13fc78bac9;p=pandora-kernel.git sched: Ensure cpu_power periodic update With a lot of small tasks, the softirq sched is nearly never called when no_hz is enabled. In this case load_balance() is mainly called with the newly_idle mode which doesn't update the cpu_power. Add a next_update field which ensure a maximum update period when there is short activity. Having stale cpu_power information can skew the load-balancing decisions, this is cured by the guaranteed update. Signed-off-by: Vincent Guittot Signed-off-by: Peter Zijlstra Link: http://lkml.kernel.org/r/1323717668-2143-1-git-send-email-vincent.guittot@linaro.org --- Reading git-diff-tree failed