]> Pileus Git - ~andy/linux/commit
xen: Add selfballoning memory reservation tunable.
authorJana Saout <jana@saout.de>
Tue, 15 May 2012 10:34:46 +0000 (12:34 +0200)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Mon, 21 May 2012 14:52:53 +0000 (10:52 -0400)
commitd79d5959a023fd637e90ed1ff6547ff09d19396b
treeac84685e07eb11ff45891d992103207cc14f261a
parentd2fb4c51c7471a23f0a95526b624c14cec62603d
xen: Add selfballoning memory reservation tunable.

Currently, the memory target in the Xen selfballooning driver is mainly
driven by the value of "Committed_AS".  However, there are cases in
which it is desirable to assign additional memory to be available for
the kernel, e.g. for local caches (which are not covered by cleancache),
e.g. dcache and inode caches.

This adds an additional tunable in the selfballooning driver (accessible
via sysfs) which allows the user to specify an additional constant
amount of memory to be reserved by the selfballoning driver for the
local domain.

Signed-off-by: Jana Saout <jana@saout.de>
Acked-by: Dan Magenheimer <dan.magenheimer@oracle.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/xen/xen-selfballoon.c