public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jeremy Fitzhardinge <jeremy@goop.org>
To: Eric Lacombe <goretux@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [x86] fs, gs purpose & multicore prog
Date: Fri, 05 Sep 2008 22:38:33 -0700	[thread overview]
Message-ID: <48C21759.4020503@goop.org> (raw)
In-Reply-To: <200809060109.52419.goretux@gmail.com>

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

      reply	other threads:[~2008-09-06  5:38 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-03  9:09 [x86] fs, gs purpose & multicore prog Eric Lacombe
2008-09-04 16:49 ` Jeremy Fitzhardinge
2008-09-05 11:17   ` Eric Lacombe
2008-09-05 14:51     ` Jeremy Fitzhardinge
2008-09-05 23:09       ` Eric Lacombe
2008-09-06  5:38         ` Jeremy Fitzhardinge [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48C21759.4020503@goop.org \
    --to=jeremy@goop.org \
    --cc=goretux@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox