* [PATCH] fix sched_idle typo
@ 2003-04-09 2:56 Martin J. Bligh
0 siblings, 0 replies; only message in thread
From: Martin J. Bligh @ 2003-04-09 2:56 UTC (permalink / raw)
To: Andrew Morton; +Cc: John Hawkes, linux-kernel
We're in the idle section, so we should flag the load balance as idle.
Ooops. Pointed out by John Hawkes
diff -urpN -X /home/fletch/.diff.exclude 681-disable_preempt/kernel/sched.c 682-sched_idle/kernel/sched.c
--- 681-disable_preempt/kernel/sched.c Tue Apr 8 18:06:11 2003
+++ 682-sched_idle/kernel/sched.c Tue Apr 8 18:07:18 2003
@@ -1306,7 +1306,7 @@ static void rebalance_tick(runqueue_t *t
if (!(j % IDLE_REBALANCE_TICK)) {
spin_lock(&this_rq->lock);
schedstats[this_cpu].lb_idle++;
- 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;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-04-09 2:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-09 2:56 [PATCH] fix sched_idle typo Martin J. Bligh
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®