----- Original Message -----
>
> 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
Vinayak,
This version looks good and tests OK -- queued for crash-7.1.5:
https://github.com/crash-utility/crash/commit/76a71fed90c6304110dbce61d6c...
Thanks,
Dave