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-changelog

[Xen-changelog] [xen-3.4-testing] PoD: correct assertion and remove nois

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-3.4-testing] PoD: correct assertion and remove noisy messages
From: "Xen patchbot-3.4-testing" <patchbot-3.4-testing@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 14 Dec 2009 01:45:49 -0800
Delivery-date: Mon, 14 Dec 2009 01:47:51 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1260783806 0
# Node ID b5e22d959c66c3c653257084a97ee6a5d143975e
# Parent  426d72df7a1047e4c438bdbd085b041deda26f2f
PoD: correct assertion and remove noisy messages

Signed-off-by: Kouya Shimura <kouya@xxxxxxxxxxxxxx>
xen-unstable changeset:   20637:45fc26e2d05a
xen-unstable date:        Mon Dec 14 08:00:26 2009 +0000
---
 xen/arch/x86/mm/p2m.c |    4 +---
 1 files changed, 1 insertion(+), 3 deletions(-)

diff -r 426d72df7a10 -r b5e22d959c66 xen/arch/x86/mm/p2m.c
--- a/xen/arch/x86/mm/p2m.c     Mon Dec 14 09:42:56 2009 +0000
+++ b/xen/arch/x86/mm/p2m.c     Mon Dec 14 09:43:26 2009 +0000
@@ -328,7 +328,6 @@ static struct page_info * p2m_pod_cache_
 
         /* Break up a superpage to make single pages. NB count doesn't
          * need to be adjusted. */
-        printk("%s: Breaking up superpage.\n", __func__);
         p = page_list_remove_head(&p2md->pod.super);
         mfn = mfn_x(page_to_mfn(p));
 
@@ -519,7 +518,7 @@ p2m_pod_set_mem_target(struct domain *d,
     if ( pod_target > p2md->pod.entry_count )
         pod_target = p2md->pod.entry_count;
 
-    ASSERT( pod_target > p2md->pod.count );
+    ASSERT( pod_target >= p2md->pod.count );
 
     ret = p2m_pod_set_cache_target(d, pod_target);
 
@@ -685,7 +684,6 @@ out_entry_check:
     /* If we've reduced our "liabilities" beyond our "assets", free some */
     if ( p2md->pod.entry_count < p2md->pod.count )
     {
-        printk("b %d\n", p2md->pod.entry_count);
         p2m_pod_set_cache_target(d, p2md->pod.entry_count);
     }
 

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-3.4-testing] PoD: correct assertion and remove noisy messages, Xen patchbot-3.4-testing <=