WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH] xenpaging: clear page content after evict

To: Olaf Hering <olaf@xxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] xenpaging: clear page content after evict
From: Tim Deegan <tim@xxxxxxx>
Date: Tue, 11 Oct 2011 10:48:30 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 11 Oct 2011 02:49:25 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <f67616df0e0891ddddba.1318058133@xxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <f67616df0e0891ddddba.1318058133@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.4.2.1i
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 <olaf@xxxxxxxxx>

Applied, thanks. 

Tim.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>