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-devel

[Xen-devel] [PATCH 04/17] xenpaging: print number of evicted pages

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH 04/17] xenpaging: print number of evicted pages
From: Olaf Hering <olaf@xxxxxxxxx>
Date: Mon, 06 Dec 2010 21:59:11 +0100
Delivery-date: Mon, 06 Dec 2010 13:01:38 -0800
Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1291669155; l=541; s=domk; d=aepfle.de; h=References:Subject:To:From:Date:X-RZG-CLASS-ID:X-RZG-AUTH; bh=84obg+I/0SkMQT6X5DrvrM8WOdQ=; b=PViCtFyZUuE9H+Sp19QPrIMlNnxvYZeotUxUFl+E9tUBUrkGCIakNXMkideApZil61F rvmCCMv46rAil75+2O3nlStH3+dEQJ7VIG6KSiHcCm1ifH0dXs7hseVKypruBQCj08Ni6 czqz0n2BHDsuHfoCV1VjCwIYlOFed7zTrQg=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20101206205907.848643876@xxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: quilt/0.48-4.4
Print number of evicted pages after evict loop.

Signed-off-by: Olaf Hering <olaf@xxxxxxxxx>

---
 tools/xenpaging/xenpaging.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- xen-unstable.hg-4.1.22459.orig/tools/xenpaging/xenpaging.c
+++ xen-unstable.hg-4.1.22459/tools/xenpaging/xenpaging.c
@@ -583,7 +583,7 @@ int main(int argc, char *argv[])
             DPRINTF("%d pages evicted\n", i);
     }
 
-    DPRINTF("pages evicted\n");
+    DPRINTF("%d pages evicted. Done.\n", i);
 
     /* Swap pages in and out */
     while ( !interrupted )


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