Re: [x86] fs, gs purpose & multicore prog

From: Jeremy Fitzhardinge
Date: Sat Sep 06 2008 - 01:38:45 EST


Eric Lacombe wrote:
> I know these things ;) but what I wanted to know is the "x86 architectural
> details". In fact, I saw that during the machine init the BIOS select a cpu on
> the bus to be the BSP (bootstrap proc). The others are then the APs (Appli
> proc). Then the kernel runs on the BSP. What I wonder is how the kernel gives
> execution flow to the APs.
>

See arch/x86/kernel/smpboot.c (esp do_boot_cpu()), and chapter 7 of
"Intel 64 and IA-32 Architectures Software Developerâs Manual", volume 3a.

J
--
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/