How to check for memory leaks

From: Larry Finger
Date: Mon Dec 08 2008 - 17:18:23 EST


What is the best way to check if there is a memory leak?

If I start a ping running on my system using the rtl8187 driver, and nothing
else active on my system, I see an increase in the "slab" value in /proc/meminfo
of about 65 kB/minute. Is this indicative of a memory leak? When I run the same
test with p54usb, the increase is only 20 kB/min.

Thanks,

Larry

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/