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

Re: [Xen-devel] Re: [PATCH] Require that xenstored writes to a domain complete in a single chunk

On 26/2/07 19:09, "John Levon" <levon@xxxxxxxxxxxxxxxxx> wrote:

>> The Linux suspend thread does not sync with the xenbus reader thread at all.
>> I'm not sure why we've never seen any problems on Linux, but I guess it's
>> rare that a message cannot be sent all in one go. Especially a watch event,
>> as those are usually fairly short.
> Presumably we have to make sure we've waited for all threads waiting for
> a response to have woken up from the sleep-until-reply too, though; I'm
> not sure we do that.

Request-response pairs are serialised on a mutex. This mutex is locked out
across save/restore, which means that save/restore cannot proceed until any
outstanding response has been fully received. There's nothing even halfway
tricky going on here. :-)

 -- Keir

Xen-devel mailing list



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