Memory leak with dev_add_pack()
From: Daniel Baluta <hidden>
Date: 2011-01-23 13:03:18
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