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

vinayak menon vinayakm.list at gmail.com
Tue Apr 12 14:15:22 UTC 2016


>
> In your test code, you could simply NOT initialize the total_objects offset
> and see what happens.
>
Yes that shows the negative ALLOCATED values. One more minor change to
the previous patch was required (attached).
What I have tested and confirmed now is that, "kmem -s" gives the same
output for (latest patch + total_objects offset disabled) and (without
any patch).

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: 9501 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/crash-utility/attachments/20160412/cbdff167/attachment.obj>


More information about the Crash-utility mailing list