xen/tmem: Don't use self[ballooning|shrinking] if frontswap is off.
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Tue, 14 May 2013 17:56:42 +0000 (13:56 -0400)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Wed, 15 May 2013 14:27:50 +0000 (10:27 -0400)
commit37d46e152e4c71cd772085912f1c7bf06839f739
treeee31e42aca07640b538385c9b6b2acce315c5716
parented4f346a008edda8ee08ffcdc642691847636954
xen/tmem: Don't use self[ballooning|shrinking] if frontswap is off.

There is no point. We would just squeeze the guest to put more and
more pages in the swap disk without any purpose.

The only time it makes sense to use the selfballooning and shrinking
is when frontswap is being utilized.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Documentation/kernel-parameters.txt
drivers/xen/tmem.c
drivers/xen/xen-selfballoon.c