Kernel memory leak

Santhosh Kumar forwardinglnx at gmail.com
Sat Jun 28 02:59:54 EDT 2014


I am suspecting a memory leak in a kernel module that does layer 2
switching of data packets.

In the vmstat -m output the Num and Total keeps going up for the
kmalloc-512..

kmalloc-512               15232  15264    512     16

Is this a clear indication of leak in the kernel or can there be false
positives ?

Is there a way to trace the allocations of memory from different buckets of
kmalloc ?

-Santhosh.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140627/171e5636/attachment.html 


More information about the Kernelnewbies mailing list