From: Oleg Nesterov Date: Sun, 12 Aug 2007 16:08:19 +0000 (+0200) Subject: sched: run_rebalance_domains: s/SCHED_IDLE/CPU_IDLE/ X-Git-Tag: v2.6.23-rc3~1^2 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=de0cf899bbf06b6f64a5dce9c59d74c41b6b4232;p=linux-2.6-omap-h63xx.git 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 Signed-off-by: Ingo Molnar --- diff --git a/kernel/sched.c b/kernel/sched.c index c02659f1bd0..45e17b83b7f 100644 --- a/kernel/sched.c +++ b/kernel/sched.c @@ -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))