Re: [PATCH 2.6.17-rc4 1/6] Base support for kmemleak

Catalin Marinas
2006-05-15T10:15:44Z

On 14/05/06, Ingo Oeser <ioe-lkml@rameria.de> wrote:
> On Sunday, 14. May 2006 09:24, Catalin Marinas wrote:
> > The best would be to test it using a loadable module but I did most of
> > the work on an embedded ARM platform where it was much easier to add
> > some code directly. The code will be cleaned up in subsequent versions.
>
> Fair enough. Just put it in a seperate file,
> add a Kconfig "TEST_MEMLEAK_DETECTOR" tristate option,
> depending on "DEBUG_MEMLEAK" and adjust the Makefile accordingly.

I'll do this since the patch needs a lot more testing to show that it
can actually find real bugs and also determine its limitations. I
posted this first version to see what people think about it but it is
far from the final version.

--
Catalin