From: Brendan Cully Subject: Re: [PATCH 0 of 3] Remus: control tool Date: Tue, 1 Dec 2009 15:53:50 -0800 Message-ID: <20091201235350.GA21206@kremvax.cs.ubc.ca> References: <20091113141859.GB23952@phenom.dumpdata.com> <20091113213627.GD11642@kremvax.cs.ubc.ca> <20091201152012.GY16033@reaktio.net> <20091201161619.GA2438@zanzibar.quuxuum.com> <4B15A111.1050004@goop.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <4B15A111.1050004@goop.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jeremy Fitzhardinge Cc: andy@cs.ubc.ca, xen-devel@lists.xensource.com, konrad.wilk@oracle.com List-Id: xen-devel@lists.xenproject.org On Tuesday, 01 December 2009 at 15:04, Jeremy Fitzhardinge wrote: > On 12/01/09 08:16, Brendan Cully wrote: > > I'll probably take a crack at this soon. From a quick look at the > > pvops suspend code, it seems like it may suffer from a race when > > multiple suspends are issued that Keir fixed in the 2.6.18 tree some > > time ago -- it'd be better to get that fixed before porting the event > > channel patch. > > > > What's the bug? I don't see a reentrancy issue there because the > suspend happens synchronously in the xenwatch thread under > xenwatch_mutex. Or race for that matter. > > Am I missing something? I'll need to take a closer look, but the race I'm remembering was fixed in the 2.6.18 tree here: http://xenbits.xen.org/linux-2.6.18-xen.hg/rev/49ffe9ef67d4 > Of course, if you start triggering suspends via event channels, we'll > need to work out something else. yep.