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

Re: [Xen-devel] How to query the number of vcpus?




1. http://lists.xensource.com/archives/html/xen-devel/2005-04/ msg00412.html 2. http://lists.xensource.com/archives/html/xen-devel/2005-04/ msg00890.html

There's already a cpumask in Xen for physical CPUs (or will be -- it's
called cpuset right now, but that's going to change to fit the Linux
convention).

It probably makes sense to rename cpumap to vcpumask, or at least to
vcpumap.

Just ignore my previous email -- I completely misunderstood that the cpumaps you added really are physical cpu maps and not virtual cpu maps.

cpumap_t is a reasonable name as at least it won't conflict with type names internal to Xen.

However, why pass a pointer to a cpumap_t into PINCPU? And should we cater now for systems with too many cpus to be represented by a long?

 -- Keir


_______________________________________________
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®.