sched: run_rebalance_domains: s/SCHED_IDLE/CPU_IDLE/
authorOleg Nesterov <[email protected]>
Sun, 12 Aug 2007 16:08:19 +0000 (18:08 +0200)
committerIngo Molnar <[email protected]>
Sun, 12 Aug 2007 16:08:19 +0000 (18:08 +0200)
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 <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
kernel/sched.c

index c02659f1bd095b5145575bb7cc33c77140906d01..45e17b83b7f10ba8a99bf04e3a3bbd2571a345f3 100644 (file)
@@ -3106,7 +3106,7 @@ static void run_rebalance_domains(struct softirq_action *h)
                        if (need_resched())
                                break;
 
-                       rebalance_domains(balance_cpu, SCHED_IDLE);
+                       rebalance_domains(balance_cpu, CPU_IDLE);
 
                        rq = cpu_rq(balance_cpu);
                        if (time_after(this_rq->next_balance, rq->next_balance))