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

Re: [Xen-devel] [PATCH] Make XEN_DOMCTL_destroydomain hypercall return error





On 9/8/07 11:09, "Isaku Yamahata" <yamahata@xxxxxxxxxxxxx> wrote:

> Thank you for reviewing.
> test_and_set_bool(d->is_dying) is used to avoid race, isn't it?
> But the updated patch drops it so that it would be racy.

The only caller is serailised on domctl_lock, so the test_and_set_bool() was
not really necessary.

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