Re: [PATCH] x86_64: x86_64 version of the smp alternative patch.

From: Gerd Hoffmann
Date: Wed Jun 28 2006 - 03:52:35 EST


> This has one behaviour slightly different to the i386 version however.
> If you boot an SMP machine it does this..
>
> SMP: Allowing 4 CPUs, 2 hotplug CPUs
> Initializing CPU#0
> CPU: Physical Processor ID: 0
> CPU: Processor Core ID: 0
> CPU0: Thermal monitoring enabled (TM1)
> SMP alternatives: switching to UP code
> ..
> SMP alternatives: switching to SMP code
> Booting processor 1/2 APIC 0x1
> Initializing CPU#1

i386 shows the same behavior btw, but with CPU_HOTPLUG=y only. "booting
the second CPU" is just a special case of "plugging in a CPU" then, that
is where the double-switch comes from.

cheers,

Gerd

--
Gerd Hoffmann <kraxel@xxxxxxx>
http://www.suse.de/~kraxel/julika-dora.jpeg
-
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/