Skip to contentSkip to conversation

run_rebalance_domains: s/SCHED_IDLE/CPU_IDLE/

PATCH In review Oleg Nesterov 2 participants 2 messages Aug 12, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 run_rebalance_domains: s/SCHED_IDLE/CPU_IDLE/

rebalance_domains(SCHED_IDLE) looks strange (typo?), change it to CPU_IDLE.

kernel/sched.c renamed from kernel/sched.c~ +1 -1
@@ -3090,7 +3090,7 @@ static void run_rebalance_domains(struct
 			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))
#1 lore raw
Quoted 2 lines · Oleg Nesterov

rebalance_domains(SCHED_IDLE) looks strange (typo?), change it to CPU_IDLE.

indeed! Sharp eyes :) I've applied your patch.

Ingo