Re: Patch for slab leak debugging

From: Alexander Nyberg
Date: Sat Jul 09 2005 - 03:45:18 EST


fre 2005-07-08 klockan 16:55 -0700 skrev Andrew Morton:
> Alexander Nyberg <alexn@xxxxxxxxx> wrote:
> >
> > I think we really need an option in the kernel to help users in tracking
> > slab leaks so that they can be brought down easier.
>
> Well we already have slab-leak-detector.patch, whcih I appear to have been
> sitting on since 2.6.0-test8. it fell out of -mm after 2.6.12-rc5-mm2 due
> to various ravaging of slab.c, but could be brought back.
>
> pc/2.6.12-rc5-mm2-series:slab-leak-detector.patch
> pc/2.6.12-rc5-mm2-series:slab-leak-detector-warning-fixes.patch

Yeah I knew there was one, but I thought that was a standalone patch
(the one turning all bufctl to unsigned long, turning off irqs and
printing all slabs_full to console), my intention with this was a
proper /proc entry, something that could be a simple config option.

But if something like this already exists, would you please send me what
you have and I'll fix the numa changes

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/