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>
This commit is contained in:
Oleg Nesterov 2007-08-12 18:08:19 +02:00 committed by Ingo Molnar
parent 5d2b3d3695
commit de0cf899bb
1 changed files with 1 additions and 1 deletions

View File

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