Messages in this thread | | | Date | Mon, 16 Nov 2009 14:55:44 -0800 | From | "H. Peter Anvin" <> | Subject | Re: [PATCH 3/6] INIT: Limit the number of per cpu calibration bootup messages |
| |
On 11/16/2009 02:51 PM, Mike Travis wrote: > > There's also some confusion on whether the boot_cpu_id is the APIC id (ia64) > or the cpu_index (x86) or some other number (others). (cpu_index 0 by > definition will always be the boot cpu.) >
This is part of what I said... the whole cpu_index thing is a rather awkward extra layer of indirection.
But regardless... we have a panarchitectural notion of a cpu ID, and that is what boot_cpu_id() [or whatever we call it] should refer to. On some architectures that will be constant.
-hpa
| |