Hi, With a ramdump of a system with 386MB of available memory, "kmem -s" shows something like this CACHE NAME OBJSIZE ALLOCATED TOTAL SLABS SSIZE dd801c00 kmalloc-2048 2048 670869 670960 41935 32k The memory occupied by objects go beyond the total system memory if we use the above numbers to calculate that. I think the output is wrong because with SLUB, slabs can be of different sizes depending on the order of allocation. And here objects are calculated considering slabs are of fixed size. The attached patch worked for me. Thanks, Vinayak
Attachment:
0001-Fix-for-the-wrong-calculation-of-slub-total-and-inus.patch
Description: Binary data
-- Crash-utility mailing list Crash-utility@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/crash-utility