]> git.baikalelectronics.ru Git - kernel.git/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)
commit46d1d42d39224c5ec3f41031ba321f24610906d9
treeac84685e07eb11ff45891d992103207cc14f261a
parent9a221af74d3a88857c4729b279aef5b5b8ced8c8
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