[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.