30 lines
1.1 KiB
Diff
30 lines
1.1 KiB
Diff
Index: xen-3.4.0-testing/xen/arch/x86/domain.c
|
|
===================================================================
|
|
--- xen-3.4.0-testing.orig/xen/arch/x86/domain.c
|
|
+++ xen-3.4.0-testing/xen/arch/x86/domain.c
|
|
@@ -143,7 +143,7 @@ void dump_pageframe_info(struct domain *
|
|
|
|
printk("Memory pages belonging to domain %u:\n", d->domain_id);
|
|
|
|
- if ( d->tot_pages >= 10 )
|
|
+ if ( d->tot_pages >= 10 && d->is_dying < DOMDYING_dead )
|
|
{
|
|
printk(" DomPage list too long to display\n");
|
|
}
|
|
@@ -151,6 +151,15 @@ void dump_pageframe_info(struct domain *
|
|
{
|
|
page_list_for_each ( page, &d->page_list )
|
|
{
|
|
+ if ( d->tot_pages > 16 )
|
|
+ {
|
|
+ switch ( page->u.inuse.type_info & PGT_type_mask )
|
|
+ {
|
|
+ case PGT_none:
|
|
+ case PGT_writable_page:
|
|
+ continue;
|
|
+ }
|
|
+ }
|
|
printk(" DomPage %p: caf=%08lx, taf=%" PRtype_info "\n",
|
|
_p(page_to_mfn(page)),
|
|
page->count_info, page->u.inuse.type_info);
|