From: Tim Deegan Subject: Re: [PATCH] xenpaging: clear page content after evict Date: Tue, 11 Oct 2011 10:48:30 +0100 Message-ID: <20111011094830.GE88076@ocelot.phlegethon.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Olaf Hering Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org At 09:15 +0200 on 08 Oct (1318065333), Olaf Hering wrote: > xenpaging: clear page content after evict > > If the guest happens to read from the gfn while xenpaging is in the process of > evicting the page, the guest may read zeros instead of actual data. > Also if eviction fails the page content will be corrupted and xenpaging wont > attempt to restore the page. > > Remove page scrubbing from pager and do it after successful eviction. > > Signed-off-by: Olaf Hering Applied, thanks. Tim.