ia64/xen-unstable

changeset 17631:a6e2679b1aad

x86: only print pages' mfn-s in dump_pageframe_info()

Printing page_to_maddr() and page_to_mfn() of the same page is
redundant, and _p(page_to_maddr(page)) is even incorrect on x86/PAE.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
author Keir Fraser <keir.fraser@citrix.com>
date Mon May 12 10:16:18 2008 +0100 (2008-05-12)
parents 945394931d9e
children 9f8b8315339e
files xen/arch/x86/domain.c
line diff
     1.1 --- a/xen/arch/x86/domain.c	Mon May 12 10:15:07 2008 +0100
     1.2 +++ b/xen/arch/x86/domain.c	Mon May 12 10:16:18 2008 +0100
     1.3 @@ -138,16 +138,16 @@ void dump_pageframe_info(struct domain *
     1.4      {
     1.5          list_for_each_entry ( page, &d->page_list, list )
     1.6          {
     1.7 -            printk("    DomPage %p: mfn=%p, caf=%08x, taf=%" PRtype_info "\n",
     1.8 -                   _p(page_to_maddr(page)), _p(page_to_mfn(page)),
     1.9 +            printk("    DomPage %p: caf=%08x, taf=%" PRtype_info "\n",
    1.10 +                   _p(page_to_mfn(page)),
    1.11                     page->count_info, page->u.inuse.type_info);
    1.12          }
    1.13      }
    1.14  
    1.15      list_for_each_entry ( page, &d->xenpage_list, list )
    1.16      {
    1.17 -        printk("    XenPage %p: mfn=%p, caf=%08x, taf=%" PRtype_info "\n",
    1.18 -               _p(page_to_maddr(page)), _p(page_to_mfn(page)),
    1.19 +        printk("    XenPage %p: caf=%08x, taf=%" PRtype_info "\n",
    1.20 +               _p(page_to_mfn(page)),
    1.21                 page->count_info, page->u.inuse.type_info);
    1.22      }
    1.23  }