Re: [Patch] x86, x86_64: Intel dual-core detection

From: Andi Kleen
Date: Wed Mar 16 2005 - 12:05:44 EST


On Tue, Mar 15, 2005 at 05:36:25PM -0800, Siddha, Suresh B wrote:
> Appended patch adds the support for Intel dual-core detection and displaying
> the core related information in /proc/cpuinfo.
>
> It adds two new fields "core id" and "cpu cores" to x86 /proc/cpuinfo
> and the "core id" field for x86_64("cpu cores" field is already present in
> x86_64).

Thanks. I have a similar patch for AMD CPUs, unfortuntely it uses
different names ("shared cores" etc.)
>
> Number of processor cores in a die is detected using cpuid(4) and this
> is documented in IA-32 Intel Architecture Software Developer's Manual (vol 2a)
> (http://developer.intel.com/design/pentium4/manuals/index_new.htm#sdm_vol2a)
>
> This patch also adds cpu_core_map similar to cpu_sibling_map.
Called cpu_sharecore_map in my patch.

Hmm, which names should be chosen?
-Andi
-
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/