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/
Home Products Support Community News


RE: [Xen-devel] [PATCH] [linux-2.6.39.x for xen] tmem: self-ballooning a

To: Dan Magenheimer <dan.magenheimer@xxxxxxxxxx>
Subject: RE: [Xen-devel] [PATCH] [linux-2.6.39.x for xen] tmem: self-ballooning and frontswap-selfshrinking
From: Ian Campbell <Ian.Campbell@xxxxxxxxxxxxx>
Date: Tue, 7 Jun 2011 17:46:34 +0100
Cc: "jeremy@xxxxxxxx" <jeremy@xxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Konrad Wilk <konrad.wilk@xxxxxxxxxx>, Vasiliy G Tolstov <v.tolstov@xxxxxxxxx>, "JBeulich@xxxxxxxxxx" <JBeulich@xxxxxxxxxx>, Dushmanta Mohapatra <dmpatra@xxxxxxxxx>
Delivery-date: Tue, 07 Jun 2011 09:47:07 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <c9899779-063e-4191-8b11-57814199d67d@default>
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>
Organization: Citrix Systems, Inc.
References: <292df482-2d4c-4a4f-b5f4-4c808692156e@default 1307439243.775.535.camel@xxxxxxxxxxxxxxxxxxxxxx> <c9899779-063e-4191-8b11-57814199d67d@default>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Tue, 2011-06-07 at 17:21 +0100, Dan Magenheimer wrote:
> I was wondering why xen-balloon.c and balloon.c are separate to
> begin with?  It forces a global variable balloon_stats which could
> be static otherwise.  Though it might be possible for a kernel to be
> built with only one of the two to save space, is there any good
> reason?
> Or is it just because the file was getting too big? 

balloon.c is the core functionality.

xen-balloon.c is the "user interface" parts, i.e. the proc and sys

The stuff in balloon.c has more users than just the user interface
parts. e.g. other drivers want it etc.

See 803eb047a28d239809fff1f87274cdaa94e0d8ea for more info which was
done for the use of e.g. ca47ceaa2c407bbddd395c1807b616042365bd65.


Xen-devel mailing list

<Prev in Thread] Current Thread [Next in Thread>