0

Question about kernel slab memory leak.

view story
linux-howto

http://linuxexchange.org – Hi, I have a question about how to find a memory leak in the slab. I am using a Windriver linux distribution and noticed that free memory was going down. After I enabled slub_debug, I noticed that the buf_acquire is allocating the memory and skb_release_data is freeing it (see below). The numbers (buf_acquire, skb_release_data) seem to match but the # of active objects keeps on increasing until there is no memory left. How can I proceed further as to why the slab is not being freed? Thanks for your help. from slabtop: 349594 281787 80% 4.07K 49942 7 1598144K kmalloc-4096 sort -n (HowTos)