Re: [PATCH] slub: Proper kmemleak tracking if CONFIG_SLUB_DEBUGdisabled

From: Catalin Marinas
Date: Mon Sep 30 2013 - 05:05:02 EST


On Fri, Sep 27, 2013 at 09:38:27PM +0100, Frank Rowand wrote:
> From: Roman Bobniev <roman.bobniev@xxxxxxxxxxxxxx>
>
> When kmemleak checking is enabled and CONFIG_SLUB_DEBUG is
> disabled, the kmemleak code for small block allocation is
> disabled. This results in false kmemleak errors when memory
> is freed.
>
> Move the kmemleak code for small block allocation out from
> under CONFIG_SLUB_DEBUG.
>
> Signed-off-by: Roman Bobniev <roman.bobniev@xxxxxxxxxxxxxx>
> Signed-off-by: Frank Rowand <frank.rowand@xxxxxxxxxxxxxx>

Acked-by: Catalin Marinas <catalin.marinas@xxxxxxx>
--
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/