[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] tools: convert cpumap bitmap to list
On 20 Oct 2005, at 17:23, Ryan Harper wrote: I would think mapping cpu % nr_cpus, throwing away duplicates would bebest. With [0,1,2,3] and nr_cpus=2, cpumap would be [0,1].I think Xen should ignore non-existent cpus in a cpumap. I'm not reallyfussed what you do with them in xend -- ignoring them there too would probably make most sense.I am a little concerned that if a user pins a vcpu to cpus 0-7 , on atwo-way, and the output of vcpu-list shows him [0,1], that it might look like the pin operation didn't work. If this isn't a big deal, then I'llalso look at throwing out invalid cpus from the cpumap representation. If the user is trying to pin to CPUs 0-7 on a dual-cpu system, maybe the user doesn't know what they're doing. :-) You can trust Xen itself to ignore non-existsent CPUs in a cpumap. Whether you filter them out in xend or not I think doesn't matter a great deal. -- Keir _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |