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] PoD: Check p2m assumption in debug builds

To: George Dunlap <George.Dunlap@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] PoD: Check p2m assumption in debug builds
From: Kouya Shimura <kouya@xxxxxxxxxxxxxx>
Date: Thu, 17 Sep 2009 10:26:09 +0900
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 16 Sep 2009 18:26:24 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <de76405a0909110340w328e719fv449159b107243dcb@xxxxxxxxxxxxxx>
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: <de76405a0909110340w328e719fv449159b107243dcb@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi, 

c/s 20194:582970a2d2dc overloads the system.

[BEFORE]
$ time xm create hvm.cfg memory=1024
Using config file "./hvm.cfg".
Started domain hvm (id=3)

real    0m2.343s
user    0m0.040s
sys     0m0.030s

[AFTER]
$ time xm create hvm.cfg memory=1024
Using config file "./hvm.cfg".
Started domain hvm (id=2)

real    2m25.741s
user    0m0.090s
sys     0m0.020s

I'm about to lose my patience with it. :-)
Can you control it by a boot parameter? (ex. "pod_debug=nnn")

Thanks,
Kouya

George Dunlap writes:
> The PoD code assumes that if:
> * A page is in a domain's p2m table
> * And it's owned by the domain
> * And it's not a xenheap page
> then:
> * It's on the domain's page list.
> 
> This patch adds a check for this assumption when debug=y.
> 
> Signed-off-by: George Dunlap <george.dunlap@xxxxxxxxxxxxx>

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

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