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

From: Andrew Morton
Date: Thu Feb 02 2006 - 03:43:18 EST


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?

> Downside is that now
> some slabs don't get leak reports (those that don't get SLAB_STORE_USER
> enabled in kmem_cache_create).

Which slabs are those? SLAB_HWCACHE_ALIGN? If so, that's quite a lot of
them (more than needed, probably).

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