Hi,

how would you track a memory leak in a kernel module? Is there something
equivalent to valgrind for kernel debugging?

I'm having some troubles with the openwrt version of the madwifi driver. Basically the occupied memory as reported by the "free" command increases progressively
over time. For example after I boot the router i get this output:

              total         used         free       shared      buffers
  Mem:       256972        31300       225672            0        11480

after let's say 12 hours instead I get:

              total         used         free       shared      buffers
  Mem:       256972        77916       179056            0        49280

I suspected the madwifi driver because I've tried two almost identical configuration, one using the madwifi driver and one using the ath9k driver (with two different wifi
card).

R.
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to