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


[Xen-devel] [PATCH 0 of 11] v3: xl/libxl autoballooning

To: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH 0 of 11] v3: xl/libxl autoballooning
From: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Date: Wed, 1 Sep 2010 14:38:21 +0100
Delivery-date: Wed, 01 Sep 2010 06:39:15 -0700
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Alpine 2.00 (DEB 1167 2008-08-23)
Hi all,
this patch series adds some new memory management functions to libxl
that are used by xl to autoballoon dom0 down by the amount of memory
needed by the new domain build.
In order to avoid conflicts with other xl instances during the memory
accounting operation I am introducing a global filelock.
I am also introducing a global configuration file for xl to
enable/disable autoballooning.

Changes compares to v2:

- removed max_memkb from libxl_dominfo, added current_memkb instead;

- the changes to instroduce a xenstore transaction in
libxl_set_memory_target have been moved to a separate patch;

- the "enforce" parameter to libxl memory target functions has been

- get_free_memory_slack has been made static;

- few comments have been added to libxl.h regarding the new memory
related functions;

- code style fixes to avoid lines longer than 80 chars.



Xen-devel mailing list