]> granicus.if.org Git - procps-ng/commit
library: correct 'use' calculations for <slabinfo> api
authorJim Warner <james.warner@comcast.net>
Wed, 29 Nov 2017 06:00:00 +0000 (00:00 -0600)
committerCraig Small <csmall@enc.com.au>
Wed, 20 Dec 2017 10:18:54 +0000 (21:18 +1100)
commit6634e813d4e1d7655e6788d9ea646849d67a4f02
treef9b0e8f1162d2f6d087335772530efac3520d82b
parent108ac50039e179d0ca0beeb5745e93051544d1e1
library: correct 'use' calculations for <slabinfo> api

Awhile back, the calculation for cache utilization was
corrected to avoid a 32 bit overflow. This commit just
brings this branch into line with that earlier change.

[ references shown below represent the master branch ]

Reference(s):
commit 23ba442c886f6250d1068a82fb7d0fc544acfd63
https://gitlab.com/procps-ng/procps/merge_requests/29
http://www.freelists.org/post/procps/fix-regression-created-by-99d71ad

Signed-off-by: Jim Warner <james.warner@comcast.net>
proc/slabinfo.c