public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Dave Jones <davej@redhat.com>
To: Arjan van de Ven <arjanv@redhat.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: finding out the boot cpu number from userspace
Date: Mon, 2 Aug 2004 14:37:46 +0100	[thread overview]
Message-ID: <20040802133746.GA27758@redhat.com> (raw)
In-Reply-To: <20040802121635.GE14477@devserv.devel.redhat.com>

On Mon, Aug 02, 2004 at 02:16:35PM +0200, Arjan van de Ven wrote:
 > Hi,
 > 
 > assuming cpu 0 is the boot cpu sounds fragile/incorrect, but for irqbalanced
 > I'd like to find out which cpu is the boot cpu, is there a good way of doing
 > so ?

Parsing MP tables ?  Don't know how well this holds up in a post-MP
ACPI world though.  x86info has some code for this already, which I
stole from some other program I long since forgot about.

		Dave


  reply	other threads:[~2004-08-02 13:39 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-02 12:16 finding out the boot cpu number from userspace Arjan van de Ven
2004-08-02 13:37 ` Dave Jones [this message]
2004-08-02 14:13 ` Alan Cox
2004-08-02 14:30 ` Zwane Mwaikambo
2004-08-02 14:46   ` Richard B. Johnson
2004-08-02 15:50 ` Martin J. Bligh
2004-08-02 16:58   ` Jeff Moyer
2004-08-02 17:23     ` Martin J. Bligh
2004-08-02 17:42       ` Alan Cox
2004-08-02 18:49         ` Martin J. Bligh
2004-08-02 18:23           ` Alan Cox
2004-08-02 20:08 ` Chris Wedgwood

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=20040802133746.GA27758@redhat.com \
    --to=davej@redhat.com \
    --cc=arjanv@redhat.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