Commit de0cf899 authored by Oleg Nesterov's avatar Oleg Nesterov Committed by Ingo Molnar

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: default avatarOleg Nesterov <oleg@tv-sign.ru>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 5d2b3d36
...@@ -3106,7 +3106,7 @@ static void run_rebalance_domains(struct softirq_action *h) ...@@ -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))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment