commit | fed3793995b99c9442e99560fdde9a46df7adc78 | [log] [download] |
---|---|---|
author | Kir Kolyshkin <kir@openvz.org> | Sat May 21 11:33:49 2011 +0400 |
committer | Kir Kolyshkin <kir@openvz.org> | Sat May 21 11:33:49 2011 +0400 |
tree | 0fc096a849063d1e37e2efa2ecbe9f047dfd820c | |
parent | 4233e54933088757f17bc469910e578b8c6d215b [diff] |
vzubc: calculate relative failcnt before assessing importance function important() was always called for absolute value of failcnt. In case cumulative mode is used it is just wrong. Move failcnt calculations before important() call. Signed-off-by: Kir Kolyshkin <kir@openvz.org>