commit | 136d65bc0ad5ecab0ef6e9a12938dd35cf8a6dc2 | [log] [download] |
---|---|---|
author | Kir Kolyshkin <kir@openvz.org> | Fri May 18 13:38:54 2012 +0400 |
committer | Kir Kolyshkin <kir@openvz.org> | Fri May 18 14:15:51 2012 +0400 |
tree | c86cd4b0a1112930ab1365d95fea5a07612ffac9 | |
parent | 434c45488114b1e1eb46818ab450c69b5532302b [diff] |
vzctl set --ram/--swap: fix Commit cd8d526 is an epic fail: if you use any suffix the value is 1024 times larger than it should be. Oops. Fix by dividing by _page_size. While at it, round it up to nearest muliple of _page_size. Signed-off-by: Kir Kolyshkin <kir@openvz.org>