Re: [PATCH] Double x86 initialise fix.

From: Eric W. Biederman (ebiederm@xmission.com)
Date: Sat Oct 26 2002 - 09:08:46 EST


Dave Jones <davej@codemonkey.org.uk> writes:

> On Sat, Oct 26, 2002 at 02:56:20PM +0100, Alan Cox wrote:
> > > For many moons, we've been executing identify_cpu()
> > > on the boot processor twice on SMP kernels.
> > > This is harmless, but has a few downsides..
> > > - Extra cruft in bootlog/dmesg
> > > - Spawns one too many timers for the mcheck handler
> > > - possibly other wasteful things..
> > >
> > > This seems to do the right thing here..
>
> Isn't this always the case on x86 ?
> /me waits to hear gory details of some IBM monster.

If it is the logical cpu id yes, then id 0 is always the bootstrap
cpu.

For apic id #0 to not be the bootstrap cpu you don't need an IBM
monster, there are several SMP machines with that property.

Eric
-
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 : Thu Oct 31 2002 - 22:00:31 EST