Commits
Pavel Emelianov authored 03b42a4c5d8
Fix of size charged in UB_KMEMSIZE. Issue found by Alexey Kuznetsov (alexey@openvz.org). In 2.6.16 some wrong numbers are counted in kmemsize. The code makes some efforts to calculate right number (objuse), but does not use the result. Instead it uses allocated size (obj_size), which is less than even the number shown in /proc/slabinfo (buffer_size).