From: "J.A. Magallon" <jamagallon@able.es>
To: Lista Linux-Kernel <linux-kernel@vger.kernel.org>
Cc: Robert Love <rml@tech9.net>, Ingo Molnar <mingo@elte.hu>
Subject: irqbalance+O(1)-sched
Date: Tue, 7 May 2002 17:03:57 +0200 [thread overview]
Message-ID: <20020507150357.GA2142@werewolf.able.es> (raw)
Hi all...
I am trying to mix the irqbalance patch on top of the O1-scheduler
to use it on a dual P4 box.
Everything mix easy but this piece of code in irqbalance:
int idle_cpu(int cpu)
{
return cpu_curr(cpu) == idle_task(cpu);
}
2.4.18 defines it as
sched.c:#define idle_task(cpu) (init_tasks[cpu_number_map(cpu)])
...
sched.c:#define idle_task(cpu) (&init_task)
but O1 kills it.
Any syggestion on hwo to implement idle_cpu() on top of O1 ?
Thanks
--
J.A. Magallon # Let the source be with you...
mailto:jamagallon@able.es
Mandrake Linux release 8.3 (Cooker) for i586
Linux werewolf 2.4.19-pre8-jam1 #1 SMP mar may 7 01:51:45 CEST 2002 i686
next reply other threads:[~2002-05-07 15:04 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-07 15:03 J.A. Magallon [this message]
2002-05-07 15:08 ` irqbalance+O(1)-sched William Lee Irwin III
2002-05-07 15:13 ` irqbalance+O(1)-sched William Lee Irwin III
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=20020507150357.GA2142@werewolf.able.es \
--to=jamagallon@able.es \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=rml@tech9.net \
/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