Re: [PATCH] slub: proper kmemleak tracking if CONFIG_SLUB_DEBUG disabled

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Oct 08, 2013 at 11:58:57PM +0100, Tim Bird wrote:
> From: Roman Bobniev <Roman.Bobniev@xxxxxxxxxxxxxx>
> 
> Move all kmemleak calls into hook functions, and make it so
> that all hooks (both inside and outside of #ifdef CONFIG_SLUB_DEBUG)
> call the appropriate kmemleak routines.  This allows for kmemleak
> to be configured independently of slub debug features.
> 
> It also fixes a bug where kmemleak was only partially enabled in some
> configurations.
> 
> Signed-off-by: Roman Bobniev <Roman.Bobniev@xxxxxxxxxxxxxx>
> Signed-off-by: Tim Bird <tim.bird@xxxxxxxxxxxxxx>

Looks ok to me.

Acked-by: Catalin Marinas <catalin.marinas@xxxxxxx>

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]