* RE: Memory Leak Detection and Kernel Memory monitoring tool
@ 2006-06-16 11:39 kaustav.majumdar
2006-06-16 12:12 ` Peter Zijlstra
2006-06-16 12:48 ` Pekka Enberg
0 siblings, 2 replies; 5+ messages in thread
From: kaustav.majumdar @ 2006-06-16 11:39 UTC (permalink / raw)
To: penberg; +Cc: linux-mm
-----Original Message-----
From: penberg@gmail.com [mailto:penberg@gmail.com] On Behalf Of Pekka
Enberg
Sent: Friday, June 16, 2006 4:50 PM
To: Kaustav Majumdar (WT01 - Semiconductors & Consumer Electronics)
Cc: linux-mm@kvack.org
Subject: Re: Memory Leak Detection and Kernel Memory monitoring tool
On 6/16/06, kaustav.majumdar@wipro.com <kaustav.majumdar@wipro.com>
wrote:
>> Please suggest other feasible ways of detecting leaks and monitoring
kernel memory
>> utilization.
>Well, there's CONFIG_DEBUG_SLAB_LEAK starting with 2.6.16, I think.
Actually I was trying for 2.6.15.4.
Regards,
Kaustav
Pekka
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: Memory Leak Detection and Kernel Memory monitoring tool
2006-06-16 11:39 Memory Leak Detection and Kernel Memory monitoring tool kaustav.majumdar
@ 2006-06-16 12:12 ` Peter Zijlstra
2006-06-16 12:48 ` Pekka Enberg
1 sibling, 0 replies; 5+ messages in thread
From: Peter Zijlstra @ 2006-06-16 12:12 UTC (permalink / raw)
To: kaustav.majumdar; +Cc: penberg, linux-mm
> Actually I was trying for 2.6.15.4.
Why don't you develop against the latest kernel, with all the nice new
features you want? This is easier for upstream submission too.
If you really want your kernel-driver to work for this old kernel, back
port it when it proves itself stable.
Peter
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Memory Leak Detection and Kernel Memory monitoring tool
2006-06-16 11:39 Memory Leak Detection and Kernel Memory monitoring tool kaustav.majumdar
2006-06-16 12:12 ` Peter Zijlstra
@ 2006-06-16 12:48 ` Pekka Enberg
1 sibling, 0 replies; 5+ messages in thread
From: Pekka Enberg @ 2006-06-16 12:48 UTC (permalink / raw)
To: kaustav.majumdar; +Cc: linux-mm
On 6/16/06, kaustav.majumdar@wipro.com <kaustav.majumdar@wipro.com> wrote:
> Actually I was trying for 2.6.15.4.
There ain't any. So you need to either upgrade your kernel or backport
the good stuff.
Pekka
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Memory Leak Detection and Kernel Memory monitoring tool
2006-06-16 10:13 ` kaustav.majumdar
@ 2006-06-16 11:20 ` Pekka Enberg
0 siblings, 0 replies; 5+ messages in thread
From: Pekka Enberg @ 2006-06-16 11:20 UTC (permalink / raw)
To: kaustav.majumdar; +Cc: linux-mm
On 6/16/06, kaustav.majumdar@wipro.com <kaustav.majumdar@wipro.com> wrote:
> Please suggest other feasible ways of detecting leaks and monitoring kernel memory
> utilization.
Well, there's CONFIG_DEBUG_SLAB_LEAK starting with 2.6.16, I think.
Pekka
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Memory Leak Detection and Kernel Memory monitoring tool
@ 2006-06-16 10:13 ` kaustav.majumdar
2006-06-16 11:20 ` Pekka Enberg
0 siblings, 1 reply; 5+ messages in thread
From: kaustav.majumdar @ 2006-06-16 10:13 UTC (permalink / raw)
To: linux-mm
Hi,
My team is developing a device driver for a PCMCIA based USB device. We're currently trying to test the performance of our driver. However we're unable to figure out a reliable method of detecting memory leaks caused by our driver code. Neither have we been able to find a tool which shows % utilization of kernel memory used by our driver. I suppose applying kmemleak patch is a good way of detecting these leaks. But there is no patch available for kernel 2.6.15.4 (on fedora core 4).
About the memory monitoring, there are quite a few tools available at the application level (like free and top which are available with the operating system itself). But none for the kernel level.
Please suggest other feasible ways of detecting leaks and monitoring kernel memory utilization.
Regards
Kaustav Majumdar
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2006-06-16 12:48 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-16 11:39 Memory Leak Detection and Kernel Memory monitoring tool kaustav.majumdar
2006-06-16 12:12 ` Peter Zijlstra
2006-06-16 12:48 ` Pekka Enberg
[not found] <AcaRI8wQZTxlnEvkSZKzcK/VjpZN+AACMtwA>
2006-06-16 10:13 ` kaustav.majumdar
2006-06-16 11:20 ` Pekka Enberg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox