From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gerd Hoffmann Subject: [patch 2/6] /proc/xen/ballon tweak Date: Thu, 17 Aug 2006 15:42:54 +0200 Message-ID: <44E4725E.90503@suse.de> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------010505050805060907020209" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Xen devel list List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --------------010505050805060907020209 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi, The patch below makes /proc/xen/ballon contain driver_pages (aka "driver headroom") unconditionally. please apply, Gerd -- Gerd Hoffmann http://www.suse.de/~kraxel/julika-dora.jpeg --------------010505050805060907020209 Content-Type: text/plain; name="balloon-proc-output" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="balloon-proc-output" Signed-off-by: Gerd Hoffmann Index: source-lnx-stable-22813/drivers/xen/balloon/balloon.c =================================================================== --- source-lnx-stable-22813.orig/drivers/xen/balloon/balloon.c 2006-08-17 15:19:20.000000000 +0200 +++ source-lnx-stable-22813/drivers/xen/balloon/balloon.c 2006-08-17 15:20:17.000000000 +0200 @@ -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, --------------010505050805060907020209 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --------------010505050805060907020209--