Skip to contentSkip to conversation

/proc/xen/ballon tweak

PATCH In review Gerd Hoffmann 1 participant 1 message Aug 17, 2006 Xen hypervisor interface

lore
Share & tools
lore
#0 lore raw

PATCH 2/6 /proc/xen/ballon tweak

Hi,

The patch below makes /proc/xen/ballon contain driver_pages (aka "driver headroom") unconditionally.

please apply,

Gerd

Signature · 2 lines
Gerd Hoffmann <[email protected]>
http://www.suse.de/~kraxel/julika-dora.jpeg
drivers/xen/balloon/balloon.c +5 -3
Index: source-lnx-stable-22813/drivers/xen/balloon/balloon.c
===================================================================
@@ -440,15 +440,17 @@ static int balloon_read(char *page, char
 		"Requested target:   %8lu kB\n"
 		"Low-mem balloon:    %8lu kB\n"
 		"High-mem balloon:   %8lu kB\n"
+		"Driver pages:       %8lu kB\n"
 		"Xen hard limit:     ",
 		PAGES2KB(current_pages), PAGES2KB(target_pages), 
-		PAGES2KB(balloon_low), PAGES2KB(balloon_high));
+		PAGES2KB(balloon_low), PAGES2KB(balloon_high),
+		PAGES2KB(driver_pages));
 
 	if (hard_limit != ~0UL) {
 		len += sprintf(
 			page + len, 
-			"%8lu kB (inc. %8lu kB driver headroom)\n",
-			PAGES2KB(hard_limit), PAGES2KB(driver_pages));
+			"%8lu kB\n",
+			PAGES2KB(hard_limit));
 	} else {
 		len += sprintf(
 			page + len,

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel