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] Page scrubbing

To: Christoph Egger <Christoph.Egger@xxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] Page scrubbing
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Tue, 11 Sep 2007 16:20:20 +0100
Delivery-date: Tue, 11 Sep 2007 08:20:54 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <200709111707.06187.Christoph.Egger@xxxxxxx>
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acf0h0Pigk7+6mB6EdyVLQAX8io7RQ==
Thread-topic: [Xen-devel] [PATCH] Page scrubbing
User-agent: Microsoft-Entourage/11.3.6.070618
The printk() is printing nonsense for x86/32, as most pages do not have a
permanent mapping in Xen, and hence no valid virtual address. Page_to_virt()
on such pages is not allowed.

 -- Keir

On 11/9/07 16:07, "Christoph Egger" <Christoph.Egger@xxxxxxx> wrote:

> 
> Hi!
> 
> Make scrub_heap_pages() print from where to where
> it scrubs pages.
> 
> Signed-off-by: Christoph Egger <Christoph.Egger@xxxxxxx>
> 
> 
> This patch uncovers a strange behaviour on 32bit.
> On 64bit I get this:
> 
> (XEN) Scrubbing Free RAM 0xffff830000100000 -> 0xffff83003fff0000: ....done.
> 
> On 32bit I get this:
> 
> (XEN) Scrubbing Free RAM 0xffc00000 ->
> 0xdefb0000: .............................done.
> 
> On 64bit the scrubber goes up, but on 32bit it goes down.
> Is this behaviour expected?
> 



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

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