sched/balancing: Periodically decay max cost of idle balance
authorJason Low <jason.low2@hp.com>
Fri, 13 Sep 2013 18:26:53 +0000 (11:26 -0700)
committerIngo Molnar <mingo@kernel.org>
Fri, 20 Sep 2013 10:03:46 +0000 (12:03 +0200)
commitf48627e686a69f5215cb0761e731edb3d9859dd9
tree510f55a0971da16bdb2922da2c0ebad47bdc5e3d
parent9bd721c55c8a886b938a45198aab0ccb52f1f7fa
sched/balancing: Periodically decay max cost of idle balance

This patch builds on patch 2 and periodically decays that max value to
do idle balancing per sched domain by approximately 1% per second. Also
decay the rq's max_idle_balance_cost value.

Signed-off-by: Jason Low <jason.low2@hp.com>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/1379096813-3032-4-git-send-email-jason.low2@hp.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/metag/include/asm/topology.h
include/linux/sched.h
include/linux/topology.h
kernel/sched/fair.c