>
> 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

Attachment: 0001-Fix-for-the-wrong-calculation-of-slub-total-and-inus.patch
Description: Binary data

--
Crash-utility mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/crash-utility

Reply via email to