Thread (28 messages) 28 messages, 7 authors, 2011-03-30

Re: kmemleak for MIPS

From: Catalin Marinas <catalin.marinas@arm.com>
Date: 2011-03-24 09:55:52
Also in: linux-mm, lkml

On Thu, 2011-03-24 at 09:27 +0000, Daniel Baluta wrote:
quoted
I want to check kmemleak for both ARM/MIPS. i am able to find kernel
patch for ARM at
http://linux.derkeiler.com/Mailing-Lists/Kernel/2009-04/msg11830.html.
But I could not able to trace patch for MIPS.
It seems that kmemleak is not supported on MIPS.

According to 'depends on' config entry it is supported on:
x86, arm, ppc, s390, sparc64, superh, microblaze and tile.

Cătălin, can you confirm this? I will send a patch to update
Documentation/kmemleak.txt.

Also, looking forward to work on making kmemleak available on MIPS.
It's not supported probably because no-one tried it, kmemleak is pretty
architecture-independent. You may need to add some standard symbols to
the vmlinux.lds.S if the linker complains and possibly annotate some
false positives if you get any.

Just add "depends on MIPS" and give it a try.

-- 
Catalin
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help