lkml.org 
[lkml]   [2013]   [Oct]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] slub: proper kmemleak tracking if CONFIG_SLUB_DEBUG disabled
On Tue, Oct 08, 2013 at 11:58:57PM +0100, Tim Bird wrote:
> From: Roman Bobniev <Roman.Bobniev@sonymobile.com>
>
> 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@sonymobile.com>
> Signed-off-by: Tim Bird <tim.bird@sonymobile.com>

Looks ok to me.

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


\
 
 \ /
  Last update: 2013-10-09 15:41    [W:0.049 / U:0.156 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site