lkml.org 
[lkml]   [2008]   [Dec]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: How to check for memory leaks
On Mon, Dec 8, 2008 at 5:33 PM, Frédéric Weisbecker <fweisbec@gmail.com> wrote:
> 2008/12/8 Larry Finger <Larry.Finger@lwfinger.net>:
>> 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

Is this the driver in the staging tree or a different one?

>> 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
>
>
> Hi,
>
> You could have a look on kmemleak: http://www.procode.org/kmemleak/
> It's up to date version is on the arm development git branch (topic kmemleak):
> http://www.linux-arm.org/git?p=linux-2.6.git;a=summary
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2008-12-09 02:41    [W:1.891 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site