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

Memory leak with dev_add_pack()

From: Michael Blizek <hidden>
Date: 2011-01-22 07:18:05

Hi!

On 21:54 Fri 21 Jan     , Spiro Trikaliotis wrote:
...
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.
I could not see anything wrong here either. Some things which came to my
mind where:

- Does this also happen, if you do not call PromiscuousMode_Enter?
- Which user grows is /proc/slabinfo? (If this file is emply or does not
  exist, you may meed to recompile the kernel to use slab instead of
  sl[b-z]b)
- Which kernel version are you using? Have you tried different versions?

	-Michi
-- 
programing a layer 3+4 network protocol for mesh networks
see http://michaelblizek.twilightparadox.com
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help