[PATCH] kmemleak: Allow kmemleak to be built on powerpc

Josh Boyer jwboyer at linux.vnet.ibm.com
Thu Jul 16 21:31:00 EST 2009


On Thu, Jul 16, 2009 at 05:43:50PM +1000, Michael Ellerman wrote:
>On Thu, 2009-07-16 at 11:25 +1000, Michael Ellerman wrote:
>> Very lightly tested, doesn't crash the kernel.
>> 
>> Signed-off-by: Michael Ellerman <michael at ellerman.id.au>
>> ---
>> 
>> It doesn't look like we actually need to add any support in the
>> arch code - or is there something I'm missing?
>
>Hmm, I think we want to add annotations in lib/lmb.c don't we? That's
>our low-level pre-bootmem allocator.
>
>And we have the same problem with _edata as x86.

I'll point out that the Fedora developers enabled this in the rawhide kernels
for 3 days, and then turned it back off because most of the things found were
false positives.

Might still be worth poking at, but until it gets a bit less buggy itself it
could be a timesink.

josh


More information about the Linuxppc-dev mailing list