lkml.org 
[lkml]   [2002]   [Jul]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectNUMA-Q breakage 3/7 irqbalance stuffs unreachable cpu's in IO-APICS
irqbalance stuffs unreachable cpus' APIC ID's into the IO-APICs.
This cannot be done generically, as the cpu's that can be reached
from a given IO-APIC depend on the subarch. The net effect of the bug
is deadlocking while waiting for interrupts to come back from devices,
i.e. booting is impossible.

Fix (due to Matt Dobson) below.


Cheers,
Bill


diff -Nur linux-2.5.23-vanilla/arch/i386/kernel/io_apic.c linux-2.5.23-patched/arch/i386/kernel/io_apic.c
--- linux-2.5.23-vanilla/arch/i386/kernel/io_apic.c Tue Jun 18 19:11:52 2002
+++ linux-2.5.23-patched/arch/i386/kernel/io_apic.c Thu Jun 27 14:28:51 2002
@@ -247,7 +247,7 @@

static inline void balance_irq(int irq)
{
-#if CONFIG_SMP
+#if (CONFIG_SMP && !CONFIG_MULTIQUAD)
irq_balance_t *entry = irq_balance + irq;
unsigned long now = jiffies;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 13:27    [W:0.023 / U:0.200 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site