Re: 2.6.7-rc1-bk: SMT scheduler bug / crashes on kernel boot

From: Ingo Molnar
Date: Wed May 26 2004 - 06:57:08 EST



* Anton Altaparmakov <aia21@xxxxxxxxx> wrote:

> WARNING: 1 siblings found for CPU0, should be 2

does the patch below fix it?

Ingo

--- linux/arch/i386/kernel/smpboot.c.orig
+++ linux/arch/i386/kernel/smpboot.c
@@ -1110,8 +1110,10 @@ static void __init smp_boot_cpus(unsigne
cpu_set(cpu, cpu_sibling_map[cpu]);
}

- if (siblings != smp_num_siblings)
+ if (siblings != smp_num_siblings) {
printk(KERN_WARNING "WARNING: %d siblings found for CPU%d, should be %d\n", siblings, cpu, smp_num_siblings);
+ smp_num_siblings = siblings;
+ }
}

if (nmi_watchdog == NMI_LOCAL_APIC)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/