From: Ian Campbell Subject: Re: [PATCH 16/19] libxl: suspend: Abolish usleeps in domain suspend wait Date: Mon, 17 Mar 2014 11:58:21 +0000 Message-ID: <1395057501.7428.6.camel@kazak.uk.xensource.com> References: <1393945016-1417-1-git-send-email-ian.jackson@eu.citrix.com> <1393945016-1417-17-git-send-email-ian.jackson@eu.citrix.com> <1394730989.16364.29.camel@kazak.uk.xensource.com> <21281.63755.904249.422991@mariner.uk.xensource.com> <1394791838.16364.82.camel@kazak.uk.xensource.com> <21283.15406.21986.273382@mariner.uk.xensource.com> <21283.16192.903777.170002@mariner.uk.xensource.com> <1394819200.6065.32.camel@kazak.uk.xensource.com> <21283.18279.671068.999393@mariner.uk.xensource.com> <1395050130.4122.25.camel@kazak.uk.xensource.com> <21286.58057.453266.622078@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <21286.58057.453266.622078@mariner.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Jackson Cc: Shriram Rajagopalan , xen-devel@lists.xensource.com, Lai Jiangshan , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org On Mon, 2014-03-17 at 11:55 +0000, Ian Jackson wrote: > Ian Campbell writes ("Re: [PATCH 16/19] libxl: suspend: Abolish usleeps in domain suspend wait"): > > On Fri, 2014-03-14 at 18:16 +0000, Ian Jackson wrote: > > > > > I think it's marginally clearer separately and there's no point > > > folding it in. > > > > OK. > > So it turns out that doing this makes the final patch quite fiddly and > annoying: it needs to have a separate timeout anyway because it's also > waiting for event channels. Making the two paths separate in this way > produces an extra callback function etc. OK, not to worry. > So I'm going to go back to the previous approach. But I guess I might > as well leave the patch "libxl: events: libxl__xswait* support @paths" > in the series even though nothing uses that right now. Agreed. Ian.