Craig Small 40de1c9c7c library: fix order of operations for %use of slabinfo
In some environments, 100 * nr_active_objs is calculated at first,
and lower 32bit of the result is divided by nr_objs.
If 100 * nr_active_objs > 42949672, %use will be incorrect.

Reported by Takayuki Nagata <tnagata@redhat.com> and adopted
his patch for new library (see reference)

References:
 commit 99d71ad5810b8fbfab5c4c6be97f3e86953b6157
 http://www.freelists.org/post/procps/PATCH-bprocps-fix-order-of-operations-for-use-of-slabinfo
2016-04-25 20:24:20 +10:00
..
2016-04-19 21:33:02 +10:00
2016-04-16 17:03:57 +10:00
2016-04-16 17:03:57 +10:00
2015-09-01 20:41:25 +10:00
2016-04-17 14:45:19 +10:00
2016-04-17 14:45:19 +10:00
2015-10-24 14:29:25 +11:00
2016-04-16 17:03:57 +10:00
2016-04-17 14:45:19 +10:00
2016-04-16 17:03:57 +10:00
2016-04-14 21:21:27 +10:00
2016-04-16 17:03:57 +10:00
2016-04-16 17:03:57 +10:00
2016-04-16 17:03:57 +10:00
2016-04-16 17:03:57 +10:00
2016-04-16 17:03:57 +10:00
2016-04-16 17:03:57 +10:00