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

Re: [Xen-devel] [PATCH 19/22] libxl: suspend: Abolish usleeps in domain suspend wait



On Mon, 2014-03-17 at 13:30 +0000, Ian Jackson wrote:
> Replace the use of a loop with usleep().
> 
> Instead, use a xenstore watch and an event system timeout.  (xenstore
> fires watches on @releaseDomain when a domain shuts down.)
> 
> The logic which checks for the state of the domain is unchanged, and
> not ideal, but we will leave that for the next patch.
> 
> There is not intended to be any semantic change, other than to make
> the algorithm properly asynchronous and the consequential waiting be
> on xenstore, rather than polling.
> 
> Signed-off-by: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
> CC: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>

Acked-by: Ian Campbell <ian.campbell@xxxxxxxxxx>



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.