Re: 2.6.23-mm1

Andrew Morton
2007-10-14T18:40:00Z

On Sun, 14 Oct 2007 13:54:26 +0200 "Torsten Kaiser" <just.for.lkml@googlemail.com> wrote:

> > The page-owner code can pinpoint a leak source. See
> > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.23/2.6.23-mm1/broken-out/page-owner-tracking-leak-detector.patch
> >
> > Enable CONFIG_DEBUG_SLAB_LEAK, check out /proc/slab_allocators
>
> Did that. The output of /proc/page_owner is ~350Mb, gzipped still ~7Mb.
>
> Taking only the first line from each stackdump it shows the following counts:
>
> ...
>
> 354042 [0xffffffff80266373] mempool_alloc+83

This one is suspicious. Can you find the whole record for it?

The other info shows a tremendous memory leak, not via slab. Looks like
someone is running alloc_pages() directly and isnb't giving them back.