sched: Fix nohz_idle_balance()
authorVincent Guittot <vincent.guittot@linaro.org>
Thu, 13 Sep 2012 04:11:26 +0000 (06:11 +0200)
committerIngo Molnar <mingo@kernel.org>
Thu, 13 Sep 2012 14:52:03 +0000 (16:52 +0200)
commit5ed4f1d96deee82ee92cd1ac1e0108c27e80e9b0
treeb147faa700337a1ab47a321f2e35016946b77a16
parent38b8dd6f87398524d02c21ff614c507ba8c9d295
sched: Fix nohz_idle_balance()

On tickless systems, one CPU runs load balance for all idle CPUs.

The cpu_load of this CPU is updated before starting the load balance
of each other idle CPUs. We should instead update the cpu_load of
the balance_cpu.

Signed-off-by: Vincent Guittot <vincent.guittot@linaro.org>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Venkatesh Pallipadi <venki@google.com>
Cc: Suresh Siddha <suresh.b.siddha@intel.com>
Link: http://lkml.kernel.org/r/1347509486-8688-1-git-send-email-vincent.guittot@linaro.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/fair.c