Thread (10 messages) 10 messages, 4 authors, 2011-01-25

Memory leak with dev_add_pack()

From: Daniel Baluta <hidden>
Date: 2011-01-23 13:03:18

Hi Spiro,
While it essentially works as I want it to, I found that I am leaking
memory this way. Having this module in a highly loaded network,
"head -n5 /proc/meminfo" shows that MemFree is steadily falling, until
the kernel OOPS with an out of memory condition.
Have you considered using kmemleak [1] to help your debugging?

thanks,
Daniel.

[1] http://lxr.linux.no/linux+v2.6.37/Documentation/kmemleak.txt
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help