[patch] boot hang on multi-quad machines.

From: Matthew Dobson (colpatch@us.ibm.com)
Date: Tue Jun 25 2002 - 19:20:52 EST


As mentioned in several posts, the balance_irq code introduced in 2.5.9 is
broken for any architecture that doesn't use flat logical addressing. Also,
even when it does work, there have been several reports of it degrading
performance. As the NUMA-Q architecture I work with doesn't use flat logical
addressing, and it isn't worth the possible performance hit, I'm submitting
this patch for inclusion into the mainline.

Cheers!

-Matt


--- linux-2.5.21-vanilla/arch/i386/kernel/io_apic.c Fri Jun 14 17:17:44 2002
+++ linux-2.5.21-patched/arch/i386/kernel/io_apic.c.fixed Mon Jun 24 17:54:20 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/



This archive was generated by hypermail 2b29 : Sun Jun 30 2002 - 22:00:10 EST