Re: [PATCH 3/6] INIT: Limit the number of per cpu calibration bootupmessages

From: H. Peter Anvin
Date: Mon Nov 16 2009 - 17:58:34 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/