From: "Martin J. Bligh" <mbligh@aracnet.com>

rebalance_tick is not properly passing the idle argument through to
load_balance in one case.  The fix is trivial.  Pointed out by John Hawkes.




 kernel/sched.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -puN kernel/sched.c~rebalance_tick-fix kernel/sched.c
--- 25/kernel/sched.c~rebalance_tick-fix	2003-06-10 23:33:21.000000000 -0700
+++ 25-akpm/kernel/sched.c	2003-06-10 23:33:21.000000000 -0700
@@ -1108,7 +1108,7 @@ static void rebalance_tick(runqueue_t *t
 #endif
 		if (!(j % IDLE_REBALANCE_TICK)) {
 			spin_lock(&this_rq->lock);
-			load_balance(this_rq, 0, cpu_to_node_mask(this_cpu));
+			load_balance(this_rq, idle, cpu_to_node_mask(this_cpu));
 			spin_unlock(&this_rq->lock);
 		}
 		return;

_