summaryrefslogtreecommitdiff
path: root/arch/sparc
diff options
context:
space:
mode:
authorRoman Bobniev <Roman.Bobniev@sonymobile.com>2013-10-08 15:58:57 -0700
committerPekka Enberg <penberg@iki.fi>2013-10-24 20:25:10 +0300
commitd56791b38e34e480d869d1b88735df16c81aa684 (patch)
treeb1333007313610a469f6ab6fa23c4f65e51a370e /arch/sparc
parent6e4664525b1db28f8c4e1130957f70a94c19213e (diff)
slub: proper kmemleak tracking if CONFIG_SLUB_DEBUG disabled
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. Acked-by: Catalin Marinas <catalin.marinas@arm.com> Acked-by: Christoph Lameter <cl@linux.com> Signed-off-by: Roman Bobniev <Roman.Bobniev@sonymobile.com> Signed-off-by: Tim Bird <tim.bird@sonymobile.com> Signed-off-by: Pekka Enberg <penberg@iki.fi>
Diffstat (limited to 'arch/sparc')
0 files changed, 0 insertions, 0 deletions