From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: Arjan van de Ven <arjanv@redhat.com>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: finding out the boot cpu number from userspace
Date: Mon, 02 Aug 2004 15:13:55 +0100 [thread overview]
Message-ID: <1091456034.437.1.camel@localhost.localdomain> (raw)
In-Reply-To: <20040802121635.GE14477@devserv.devel.redhat.com>
On Llu, 2004-08-02 at 13:16, 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 ?
>
> The reason for needing this is that some firmware only likes running on the
> boot cpu so I need to bind firmware-related irq's to that cpu ideally.
Grab the physical CPU id during boot up and stick it in the
/proc/cpuinfo as another information line "Boot device: Yes/no"
Just don't use "Processor" in the string or some glibc's start getting
strange ideas about the CPU count.
next prev parent reply other threads:[~2004-08-02 15:16 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
2004-08-02 14:13 ` Alan Cox [this message]
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=1091456034.437.1.camel@localhost.localdomain \
--to=alan@lxorguk.ukuu.org.uk \
--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