Re: SMP _death_

David S. Miller (davem@jenolan.rutgers.edu)
Mon, 28 Apr 1997 08:54:50 -0400


Date: Mon, 28 Apr 1997 08:45:49 -0400 (EDT)
From: "Richard B. Johnson" <root@analogic.com>

The following patch seems to fix the SMP death problem on my machine.

--- /usr/src/linux-2.1.36/arch/i386/kernel/irq.c.orig Mon Apr 28 01:31:43 1997
+++ /usr/src/linux-2.1.36/arch/i386/kernel/irq.c Mon Apr 28 08:34:36 1997
@@ -543,6 +543,7 @@
{
struct irqaction * action;
int do_random, cpu = smp_processor_id();
+ synchronize_irq();
irq_enter(cpu, irq);
kstat.interrupts[irq]++;

Although this can't possibly be the right fix, it can hint us as to
where it really is. All this patch does is single thread all
interrupt handling, which means there is a re-entrancy problem in some
driver still which has yet to be resolved.

---------------------------------------------////
Yow! 11.26 MB/s remote host TCP bandwidth & ////
199 usec remote TCP latency over 100Mb/s ////
ethernet. Beat that! ////
-----------------------------------------////__________ o
David S. Miller, davem@caip.rutgers.edu /_____________/ / // /_/ ><