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

[Xen-devel] [PATCH] [RFC] scrub pages when balloon frees them

To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] [RFC] scrub pages when balloon frees them
From: Stefan Berger <stefanb@xxxxxxxxxx>
Date: Tue, 01 Apr 2008 21:46:01 -0400
Cc: Keir Fraser <keir.fraser@xxxxxxxxxxxx>
Delivery-date: Tue, 01 Apr 2008 18:46:34 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Reply-to: stefanb@xxxxxxxxxx
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
When a domain is killed, all its memory pages are cleared. However, I
looked at the code path that is run when a domain releases memory from
the balloon and could not find code that would scrub these pages. So I
added this line, but I am wondering whether previously it was forgotten
or not done due to some other reason?

Signed-off-by: Stefan Berger <stefanb@xxxxxxxxxx>

Attachment: scrub_page_when_deflate_balloon.diff
Description: Text Data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>