From: "Martin J. Bligh" <mbligh@aracnet.com>
To: Andrew Morton <akpm@digeo.com>
Cc: John Hawkes <hawkes@sgi.com>,
linux-kernel <linux-kernel@vger.kernel.org>
Subject: [PATCH] fix sched_idle typo
Date: Tue, 08 Apr 2003 19:56:14 -0700 [thread overview]
Message-ID: <158580000.1049856974@[10.10.2.4]> (raw)
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;
reply other threads:[~2003-04-09 2:44 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='158580000.1049856974@[10.10.2.4]' \
--to=mbligh@aracnet.com \
--cc=akpm@digeo.com \
--cc=hawkes@sgi.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®