From: Larry Finger <Larry.Finger@lwfinger.net>
To: LKML <linux-kernel@vger.kernel.org>
Subject: How to check for memory leaks
Date: Mon, 08 Dec 2008 16:18:12 -0600 [thread overview]
Message-ID: <493D9D24.8080406@lwfinger.net> (raw)
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
next reply other threads:[~2008-12-08 22:18 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-08 22:18 Larry Finger [this message]
2008-12-08 22:33 ` How to check for memory leaks Frédéric Weisbecker
2008-12-09 1:38 ` J.R. Mauro
2008-12-09 1:45 ` Larry Finger
2008-12-09 1:49 ` Larry Finger
2008-12-09 8:55 ` Hinko Kocevar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=493D9D24.8080406@lwfinger.net \
--to=larry.finger@lwfinger.net \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox