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

Re: [Xen-devel] [PATCH] xl cpupool-numa-split: reduce number of Dom0 vcp

Juergen Gross writes ("Re: [Xen-devel] [PATCH] xl cpupool-numa-split: reduce 
number of Dom0 vcpus"):
> I added a failure exit if not all required vcpus are offlined.

Thanks.  But, is this test correct ?

> +        if (info.vcpu_online == n) {
> +            break;
> +        }

Is it possible for the online map to have n cpus in it, but for them
to be the wrong n cpus ?

What if two copies of this code run concurrently ?  (Perhaps in 4.2 we
will need to add a lock?)

Ian.

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