commit | bd7f7707e786ada2634a1f0461bd998df8a05534 | [log] [download] |
---|---|---|
author | Kir Kolyshkin <kir@openvz.org> | Mon Sep 30 19:00:58 2013 -0700 |
committer | Kir Kolyshkin <kir@openvz.org> | Mon Sep 30 19:00:58 2013 -0700 |
tree | c705cdc98e871e149dbb8ca3c6d6ec5d5b81418e | |
parent | 89fee19a29bbb2b0afdbf4e2dbcfde9f4b083b78 [diff] |
vswap: set secondary UBCs if unset Apparently, if some UBC parameters are not set in VSwap mode, it makes sense to set those implicitly, based on 'ram' and 'swap'. lockedpages = ram oomguarpages = ram vmguarpages = ram + swap Also, if vm_overcommit is set: privvmpages = (ram + swap) * vm_overcommit Signed-off-by: Kir Kolyshkin <kir@openvz.org>