diff options
author | Jason Low <jason.low2@hp.com> | 2013-09-13 18:26:53 (GMT) |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2013-09-20 10:03:46 (GMT) |
commit | f48627e686a69f5215cb0761e731edb3d9859dd9 (patch) | |
tree | 510f55a0971da16bdb2922da2c0ebad47bdc5e3d /arch | |
parent | 9bd721c55c8a886b938a45198aab0ccb52f1f7fa (diff) | |
download | linux-f48627e686a69f5215cb0761e731edb3d9859dd9.tar.xz |
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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/metag/include/asm/topology.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/metag/include/asm/topology.h b/arch/metag/include/asm/topology.h index db19292..8e9c0b3 100644 --- a/arch/metag/include/asm/topology.h +++ b/arch/metag/include/asm/topology.h @@ -27,6 +27,7 @@ .balance_interval = 1, \ .nr_balance_failed = 0, \ .max_newidle_lb_cost = 0, \ + .next_decay_max_lb_cost = jiffies, \ } #define cpu_to_node(cpu) ((void)(cpu), 0) |