Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -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))