[PATCH] run_rebalance_domains: s/SCHED_IDLE/CPU_IDLE/

From: Oleg Nesterov
Date: Sun Aug 12 2007 - 06:21:41 EST


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

Signed-off-by: Oleg Nesterov <oleg@xxxxxxxxxx>

--- t/kernel/sched.c~ 2007-08-09 19:59:27.000000000 +0400
+++ t/kernel/sched.c 2007-08-12 14:15:37.000000000 +0400
@@ -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))

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/