From: Wei Liu Subject: Re: [PATCH RFC] xen/balloon: check whether a page is pointed to scratch page MFN Date: Thu, 5 Sep 2013 15:29:06 +0100 Message-ID: <20130905142905.GE14104@zion.uk.xensource.com> References: <1378375219-28193-1-git-send-email-wei.liu2@citrix.com> <52289473.4040107@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1VHaYr-0005Ss-SG for xen-devel@lists.xenproject.org; Thu, 05 Sep 2013 14:29:29 +0000 Content-Disposition: inline In-Reply-To: <52289473.4040107@citrix.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: David Vrabel Cc: xen-devel@lists.xenproject.org, stefano.stabellini@eu.citrix.com, Wei Liu List-Id: xen-devel@lists.xenproject.org On Thu, Sep 05, 2013 at 03:25:55PM +0100, David Vrabel wrote: > On 05/09/13 11:00, Wei Liu wrote: > > Now that balloon pages might have two kind of P2M entries, a) > > INVALID_P2M_ENTRY when that page is never used, b) mfn of one of the > > many ballooned scratch pages. Refelct this in increase_reservation to > > avoid hitting BUG_ON. > > This BUG_ON() isn't useful, please just remove it. > I'm fine with that. I'm just less confident to do so. :-) Now that you and Stefano both voted for this option, haha. > David