From: Ian Campbell Subject: Re: [PATCH] xenpaging: use poll timeout if no paging target exists Date: Sat, 8 Sep 2012 06:44:40 +0100 Message-ID: <1347083080.10570.61.camel@dagon.hellion.org.uk> References: <1347033936.30018.134.camel@zakaz.uk.xensource.com> <20120907161440.GA30695@aepfle.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20120907161440.GA30695@aepfle.de> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Olaf Hering Cc: "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org On Fri, 2012-09-07 at 17:14 +0100, Olaf Hering wrote: > On Fri, Sep 07, Ian Campbell wrote: > > > > + /* Use a poll timeout until xenpaging got a target from xenstore */ > > > + paging->use_poll_timeout = 1; > > > > Don't you want a negative (== infinite) timeout in this case? > > Maybe, but this change is the simplest fix for the isse. > Waiting forever may have bad side effects, this is something to consider > for 4.3. We are in the 4.3 development window now, and this patch didn't say anything about being for 4.2. I think this fix (or the larger one) are 4.2.1 material at this point. Ian