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] Improve debug tracing from HYPERVISOR_memory_op().

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Improve debug tracing from HYPERVISOR_memory_op().
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 12 Sep 2005 12:32:10 +0000
Delivery-date: Mon, 12 Sep 2005 12:30:38 +0000
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/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/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 kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 05f36d13e30c2df3b40e4dce47c1e0d5c58d6022
# Parent  2c2c0b843f05083bf229286680d4adbb38d622a0
Improve debug tracing from HYPERVISOR_memory_op().

Signed-off-by: Ian Pratt <ian@xxxxxxxxxxxxx>

diff -r 2c2c0b843f05 -r 05f36d13e30c xen/common/memory.c
--- a/xen/common/memory.c       Mon Sep 12 10:54:30 2005
+++ b/xen/common/memory.c       Mon Sep 12 12:10:43 2005
@@ -29,7 +29,7 @@
     int           *preempted)
 {
     struct pfn_info *page;
-    unsigned long    i;
+    unsigned int     i;
 
     if ( (extent_list != NULL) &&
          !array_access_ok(extent_list, nr_extents, sizeof(*extent_list)) )
@@ -37,7 +37,7 @@
 
     if ( (extent_order != 0) && !IS_CAPABLE_PHYSDEV(current->domain) )
     {
-        DPRINTK("Only I/O-capable domains may allocate > order-0 memory.\n");
+        DPRINTK("Only I/O-capable domains may allocate multi-page extents.\n");
         return 0;
     }
 
@@ -52,8 +52,9 @@
         if ( unlikely((page = alloc_domheap_pages(
             d, extent_order, flags)) == NULL) )
         {
-            DPRINTK("Could not allocate order=%d extent: id=%d flags=%x\n",
-                    extent_order, d->domain_id, flags);
+            DPRINTK("Could not allocate order=%d extent: "
+                    "id=%d flags=%x (%d of %d)\n",
+                    extent_order, d->domain_id, flags, i, nr_extents);
             return i;
         }
 

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Improve debug tracing from HYPERVISOR_memory_op()., Xen patchbot -unstable <=