From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olaf Hering Subject: Re: [PATCH] xenpaging: use poll timeout if no paging target exists Date: Fri, 7 Sep 2012 18:14:40 +0200 Message-ID: <20120907161440.GA30695@aepfle.de> References: <1347033936.30018.134.camel@zakaz.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1347033936.30018.134.camel@zakaz.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 Campbell Cc: "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org 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. Olaf