[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-3.4-testing] PoD: correct assertion and remove noisy messages
# 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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |