Skip to contentSkip to conversation

linux-2.6.7-bk2 runs faster than linux-2.6.7 ;)

DISCUSSION Hans-Frieder Vogt 1 participant 1 message Jun 20, 2004

lore
Share & tools
lore
#0 lore raw

Hi List,

I traced the current double-speed issue for 2.6.7-bk2 on x86-64 back to an ACPI-change in mpparse.c. The small attached patch solved the issue at least on my MSI K8T Neo (Athlon 64 3200+) system.

--- linux-2.6.7-bk2.orig/arch/x86_64/kernel/mpparse.c 2004-06-19
17:17:15.824315000 +0200
+++ linux-2.6.7-bk2/arch/x86_64/kernel/mpparse.c 2004-06-20 16:02:34.974446912
+0200
@@ -861,7 +861,7 @@

for (idx = 0; idx < mp_irq_entries; idx++)
if (mp_irqs[idx].mpc_srcbus == MP_ISA_BUS &&
- (mp_irqs[idx].mpc_dstapic == ioapic) &&
+ (mp_irqs[idx].mpc_dstapic == intsrc.mpc_dstapic) &&
(mp_irqs[idx].mpc_srcbusirq == i || mp_irqs[idx].mpc_dstirq == i))
break;

Signature · 2 lines
--
Hans-Frieder Vogt                 e-mail: hfvogt (at) arcor (dot) de