 
	
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] xl cpupool-numa-split: reduce number of Dom0 vcpus
 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
 
 
 | 
|  | Lists.xenproject.org is hosted with RackSpace, monitoring our |