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

[Xen-devel] Re: [PATCH] Don't assume the vcpu_id is continous in alloc_vcpu



On 12/11/2009 15:27, "Jiang, Yunhong" <yunhong.jiang@xxxxxxxxx> wrote:

> Thanks for your changes very much.
> I just noticed I missed get a lock for this change.
> Originally I thought the XEN_DOMCTL_max_vcpus will be synced, but seems no. So
> alloc_vcpu() may have race condition. (for idle_vcpu or dom0, it should be
> safe already)

All domctl operations are serialised on domctl_lock. I think that suffices?

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