From: Kouya Shimura Subject: Re: [PATCH] PoD: Check p2m assumption in debug builds Date: Thu, 17 Sep 2009 10:26:09 +0900 Message-ID: <7khbv2cqfe.fsf@pingu.sky.yk.fujitsu.co.jp> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: 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: George Dunlap Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org 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