]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0b7a6f0f3f51e2b3f1edfbd4fff9aeb3e74382a5
treeee31e42aca07640b538385c9b6b2acce315c5716
parent15fb65db86bdce66d006ae186b17f486c943507a
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