All of lore.kernel.org
 help / color / mirror / Atom feed
From: Elad Lahav <elahav@uwaterloo.ca>
To: sparclinux@vger.kernel.org
Subject: Re: Processor IDs on the Niagara
Date: Sat, 13 Sep 2008 00:47:24 +0000	[thread overview]
Message-ID: <48CB0D9C.10901@uwaterloo.ca> (raw)
In-Reply-To: <48CADADA.7050604@uwaterloo.ca>

> The kernel treats core_id=0 as special, therefore we start the
> indexes there at "1".
> 
> The kernel treats proc_id=-1 as special, therefore we start those
> indexes at "0".

My problem was not with the indexing, but rather with the meaning of 
proc_id. It's neither the physical processor ID, nor the virtual 
processor ID. It's just a one-to-one mapping of the core ID. As the 
virtual processor ID is the same as the kernel's CPU ID, I think that 
proc_id should hold the physical processor ID. If not, than this 
information should be kept in some other field of cpu_data.

Elad


  parent reply	other threads:[~2008-09-13  0:47 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-12 21:10 Processor IDs on the Niagara Elad Lahav
2008-09-12 21:44 ` David Miller
2008-09-13  0:47 ` Elad Lahav [this message]
2008-09-13  0:53 ` Elad Lahav
2008-09-13  1:01 ` David Miller
2008-09-13  1:02 ` David Miller
2008-09-13  1:18 ` David Miller
2008-09-13  1:27 ` Elad Lahav
2008-09-13  1:38 ` David Miller
2008-09-15 21:26 ` Elad Lahav
2008-09-15 22:09 ` David Miller
2008-09-16 18:47 ` Elad Lahav
2008-09-16 18:48 ` David Miller
2008-09-17 18:45 ` Elad Lahav
2008-10-05 20:47 ` David Miller
2008-10-05 20:57 ` David Miller
2008-10-06 13:15 ` Elad Lahav

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=48CB0D9C.10901@uwaterloo.ca \
    --to=elahav@uwaterloo.ca \
    --cc=sparclinux@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.