sched: Add missing call to calc_load_exit_idle()
authorCharles Wang <muming.wq@taobao.com>
Mon, 20 Aug 2012 08:02:33 +0000 (16:02 +0800)
committerIngo Molnar <mingo@kernel.org>
Tue, 4 Sep 2012 12:30:29 +0000 (14:30 +0200)
commit749c8814f08f12baa4a9c2812a7c6ede7d69507d
treec557a90a5f5d94b6de660b293bc7c24cf7e0d0a4
parentf319da0c6894fcf55e21320e40506418a2aad629
sched: Add missing call to calc_load_exit_idle()

Azat Khuzhin reported high loadavg in Linux v3.6

After checking the upstream scheduler code, I found Peter's commit:

  5167e8d5417b sched/nohz: Rewrite and fix load-avg computation -- again

not fully applied, missing the call to calc_load_exit_idle().

After that idle exit in sampling window will always be calculated
to non-idle, and the load will be higher than normal.

This patch adds the missing call to calc_load_exit_idle().

Signed-off-by: Charles Wang <muming.wq@taobao.com>
Cc: stable@kernel.org
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1345449754-27130-1-git-send-email-muming.wq@gmail.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/time/tick-sched.c