WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] RE: [RFC][PATCH] AMD CPU core topology detection

>>> On 07.01.11 at 23:56, "Huang2, Wei" <Wei.Huang2@xxxxxxx> wrote:
> Looking at kernel 2.6.37, I think its implementation is very similar to what 
> I did. Here is a code snip from smpboot.c file. The kernel treats 
> compute_unit_id and cpu_core_id equally. 

Yes, cpu_{core,sibling}_map are being re-used (as I indicated earlier).

> If you don't like the idea of piggybacking on existing cpu_core_id, I can 
> add a compute_unit_id. Also we might want to move phys_proc_id and 
> cpu_core_id to cpuinfo_x86?

That both seems a good idea to me.

Jan


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel