Skip to contentSkip to conversation

boot hang on multi-quad machines.

PATCH New Matthew Dobson 1 participant 1 message Jun 26, 2002

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 boot hang on multi-quad machines.

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

arch/i386/kernel/io_apic.c.fixed renamed from arch/i386/kernel/io_apic.c +1 -1
@@ -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;