diff options
author | Oleg Nesterov <oleg@tv-sign.ru> | 2007-08-12 12:08:19 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2007-08-12 12:08:19 -0400 |
commit | de0cf899bbf06b6f64a5dce9c59d74c41b6b4232 (patch) | |
tree | 0bec43e98303fd2459f4e9fdd60aa05b5ee6b8ef /kernel/sched.c | |
parent | 5d2b3d3695a841231b65b5536a70dc29961c5611 (diff) |
sched: run_rebalance_domains: s/SCHED_IDLE/CPU_IDLE/
rebalance_domains(SCHED_IDLE) looks strange (typo), change it to CPU_IDLE.
the effect of this bug was slightly more agressive idle-balancing on
SMP than intended.
Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/sched.c')
-rw-r--r-- | kernel/sched.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched.c b/kernel/sched.c index c02659f1bd09..45e17b83b7f1 100644 --- a/kernel/sched.c +++ b/kernel/sched.c | |||
@@ -3106,7 +3106,7 @@ static void run_rebalance_domains(struct softirq_action *h) | |||
3106 | if (need_resched()) | 3106 | if (need_resched()) |
3107 | break; | 3107 | break; |
3108 | 3108 | ||
3109 | rebalance_domains(balance_cpu, SCHED_IDLE); | 3109 | rebalance_domains(balance_cpu, CPU_IDLE); |
3110 | 3110 | ||
3111 | rq = cpu_rq(balance_cpu); | 3111 | rq = cpu_rq(balance_cpu); |
3112 | if (time_after(this_rq->next_balance, rq->next_balance)) | 3112 | if (time_after(this_rq->next_balance, rq->next_balance)) |