|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] RE: [PATCH] Don't assume the vcpu_id is continous in alloc_v
Aha, yes. I just checked the beginning of the do_domctl, sorry for wrong alerm.
--jyh
Keir Fraser wrote:
> 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
|
|
|
|
|