From: Tim Deegan Subject: Re: [PATCH 2 of 4 RFC] xen, pod: Check zero-check pages returned by the balloon driver Date: Thu, 14 Jun 2012 14:20:56 +0100 Message-ID: <20120614132056.GD90181@ocelot.phlegethon.org> References: <8264589787b484b7f903.1339156492@elijah> <20120614102808.GI82539@ocelot.phlegethon.org> <20120614131923.GA9349@aepfle.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20120614131923.GA9349@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: George Dunlap , xen-devel@lists.xensource.com, Andres Lagar-Cavilla List-Id: xen-devel@lists.xenproject.org At 15:19 +0200 on 14 Jun (1339687163), Olaf Hering wrote: > On Thu, Jun 14, Tim Deegan wrote: > > > At 12:54 +0100 on 08 Jun (1339160092), George Dunlap wrote: > > > + else if( p2m_is_ram(t) ) > > > + { > > > + if ( steal_for_cache ) > > > + { > > > + struct page_info *page; > > > + > > > + ASSERT(mfn_valid(mfn)); > > > > I think this assertion is broken by the paging code, which adds > > paged-out pages to the RAM types. One fix is to undo that change and > > have p2m_is_ram() only be true for present pages, but I think for 4.2 it > > would be less disruptive to test here for the paged-out and paging > > types. > > I assume the posted hunk is in PoD code, for 4.2 it should be fine > because paging cant be enabled if PoD is already enabled. Good point. OK, we can ignore it for now and sort it all out after 4.2 Cheers, Tim.