From: Erich Focht <focht@ess.nec.de>
To: linux-ia64@vger.kernel.org
Subject: Re: [Linux-ia64] O(1) scheduler K3+ for IA64
Date: Mon, 04 Mar 2002 11:41:40 +0000 [thread overview]
Message-ID: <marc-linux-ia64-105590701905213@msgid-missing> (raw)
In-Reply-To: <marc-linux-ia64-105590701905201@msgid-missing>
Hi Jesse,
On Fri, 1 Mar 2002, Jesse Barnes wrote:
> Hey Erich, I've been testing out your latest K3+ patch (along with
> yours and Mike's NUMA scheduler changes) and found that it seems less
> stable than the old version that used locking for the tlb flush stuff.
> I think there's a deadlock somewhere in the new code since
> 2.4.17 + kdb + ia64 + Ingo K3 + old K3+: rock solid
> 2.4.17 + kdb + ia64 + Ingo K3 + new K3+: sometimes hangs at boot,
please find attached a fix the should help for the K3+ scheduler. I had
this fixed in the NUMA patch I've sent out...
The NUMA patch can have similar problems, there I needed to eliminate the
idle checks in scan_pools().
Best regards,
Erich
--- 2.4.17-ia64-kdbv2.1-K3+/kernel/sched.c.~1~ Mon Mar 4 11:39:18 2002
+++ 2.4.17-ia64-kdbv2.1-K3+/kernel/sched.c Mon Mar 4 11:54:01 2002
@@ -1539,7 +1539,8 @@
for (;;) {
if (test_and_clear_bit(smp_processor_id(), &migration_mask))
- current->cpus_allowed = 1 << smp_processor_id();
+ printk("migration_task on cpu=%d mask=%lx\n",
+ cpu(),current->cpus_allowed);
if (current->need_resched)
schedule();
if (!migration_mask)
next prev parent reply other threads:[~2002-03-04 11:41 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-02-28 18:44 [Linux-ia64] O(1) scheduler K3+ for IA64 Erich Focht
2002-03-01 23:06 ` Jesse Barnes
2002-03-02 0:22 ` Jesse Barnes
2002-03-04 11:41 ` Erich Focht [this message]
2002-03-04 18:37 ` Jesse Barnes
2002-03-05 17:37 ` Erich Focht
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=marc-linux-ia64-105590701905213@msgid-missing \
--to=focht@ess.nec.de \
--cc=linux-ia64@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