Accepting request 38078 from Virtualization
checked in (request 38078) OBS-URL: https://build.opensuse.org/request/show/38078 OBS-URL: https://build.opensuse.org/package/show/Virtualization/xen?expand=0&rev=41
This commit is contained in:
committed by
Git OBS Bridge
parent
f46075e596
commit
ce2ee9452b
@@ -1,6 +1,8 @@
|
||||
--- a/xen/arch/x86/domain.c
|
||||
+++ b/xen/arch/x86/domain.c
|
||||
@@ -144,14 +144,29 @@ void dump_pageframe_info(struct domain *
|
||||
Index: xen-4.0.0-testing/xen/arch/x86/domain.c
|
||||
===================================================================
|
||||
--- xen-4.0.0-testing.orig/xen/arch/x86/domain.c
|
||||
+++ xen-4.0.0-testing/xen/arch/x86/domain.c
|
||||
@@ -144,7 +144,7 @@ void dump_pageframe_info(struct domain *
|
||||
|
||||
printk("Memory pages belonging to domain %u:\n", d->domain_id);
|
||||
|
||||
@@ -9,17 +11,11 @@
|
||||
{
|
||||
printk(" DomPage list too long to display\n");
|
||||
}
|
||||
else
|
||||
@@ -152,6 +152,15 @@ void dump_pageframe_info(struct domain *
|
||||
{
|
||||
+ unsigned long total[PGT_type_mask
|
||||
+ / (PGT_type_mask & -PGT_type_mask) + 1] = {};
|
||||
+
|
||||
page_list_for_each ( page, &d->page_list )
|
||||
{
|
||||
+ unsigned int index = (page->u.inuse.type_info & PGT_type_mask)
|
||||
+ / (PGT_type_mask & -PGT_type_mask);
|
||||
+
|
||||
+ if ( ++total[index] > 16 )
|
||||
+ if ( d->tot_pages > 16 )
|
||||
+ {
|
||||
+ switch ( page->u.inuse.type_info & PGT_type_mask )
|
||||
+ {
|
||||
|
Reference in New Issue
Block a user