From: "Martin J. Bligh" <mbligh@aracnet.com>
To: Andrew Morton <akpm@digeo.com>
Cc: linux-kernel <linux-kernel@vger.kernel.org>
Subject: [PATCH] fix scheduler bug not passing idle
Date: Mon, 09 Jun 2003 13:32:08 -0700 [thread overview]
Message-ID: <72650000.1055190728@flay> (raw)
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.
diff -purN -X /home/mbligh/.diff.exclude mm5/kernel/sched.c mm5-idle/kernel/sched.c
--- mm5/kernel/sched.c 2003-06-09 13:28:47.000000000 -0700
+++ mm5-idle/kernel/sched.c 2003-06-09 13:31:20.000000000 -0700
@@ -1107,7 +1107,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;
reply other threads:[~2003-06-09 20:29 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=72650000.1055190728@flay \
--to=mbligh@aracnet.com \
--cc=akpm@digeo.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