Re: [PATCH] slab leak detector (Was: Size-128 slab leak)

From: Dave Jones
Date: Thu Feb 02 2006 - 03:53:26 EST


On Thu, Feb 02, 2006 at 12:44:15AM -0800, Andrew Morton wrote:
> Pekka J Enberg <penberg@xxxxxxxxxxxxxx> wrote:
> >
> > Here's a version that uses dbg_userword() instead of overriding bufctls
> > and adds a CONFIG_DEBUG_SLAB_LEAK config option. Upside is that this works
> > with the slab verifier patch and is less invasive.
>
> What is the slab verifier patch?

See the thread.. "Re: 2.6.16rc1-git4 slab corruption"
Pekka posted a rediffed variant of a patch Manfred came up with
a while back, which periodically scans slabs for corruption, which
in the past has caught some bugs where we scribbled in the redzones
of long-living slab objects, which weren't picked up by regular SLAB_DEBUG.

Dave

-
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/