[patch] boot hang on multi-quad machines.

Matthew Dobson (colpatch@us.ibm.com)
Tue, 25 Jun 2002 17:20:52 -0700


This is a multi-part message in MIME format.
--------------080701030902000809050301
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

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

--------------080701030902000809050301
Content-Type: text/plain;
name="balance_irq-fix.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="balance_irq-fix.patch"

--- 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;

--------------080701030902000809050301--

-
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/