diff options
author | Jason Low <jason.low2@hp.com> | 2013-09-13 11:26:53 -0700 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2013-09-20 12:03:46 +0200 |
commit | f48627e686a69f5215cb0761e731edb3d9859dd9 (patch) | |
tree | 510f55a0971da16bdb2922da2c0ebad47bdc5e3d /arch/metag | |
parent | 9bd721c55c8a886b938a45198aab0ccb52f1f7fa (diff) |
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/metag')
-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 db192924f4b..8e9c0b3b969 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) |