[Crash-utility] wrong values shown by kmem -s

vinayak menon vinayakm.list at gmail.com
Wed Mar 23 15:08:43 UTC 2016


On Tue, Mar 15, 2016 at 8:08 PM, vinayak menon <vinayakm.list at gmail.com> wrote:
>>
>> Although looking at it now, get_slabinfo() doesn't seem to take into account
>> the objects in the per_cpu caches?
>>
>> Anyway, 200 of 200 is clearly wrong.
>>
>> Dave
>>
>

Added accounting for free objects in cpu free/partial lists. Patch
attached. Tried to compare with the kmem -S output for various caches
and output looks fine.

Thanks,
Vinayak
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-for-the-wrong-calculation-of-slub-total-and-inus.patch
Type: application/octet-stream
Size: 8821 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/crash-utility/attachments/20160323/2a67c3fd/attachment.obj>


More information about the Crash-utility mailing list