aboutsummaryrefslogtreecommitdiff
path: root/include/linux/moduleloader.h
diff options
context:
space:
mode:
authorRoman Bobniev <Roman.Bobniev@sonymobile.com>2013-10-08 15:58:57 -0700
committerMoyster <oysterized@gmail.com>2016-09-28 15:12:52 +0200
commit91298fbc52830ffd066bce185f24c097d001c9b2 (patch)
treec68de14b6a3d3ee7d2d674ac0e4b5abfe96fa68c /include/linux/moduleloader.h
parent02d26b76dc510632f3605e0192dc708d105c3e3c (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> Signed-off-by: W4TCH0UT <ateekujjawal@gmail.com>
Diffstat (limited to 'include/linux/moduleloader.h')
0 files changed, 0 insertions, 0 deletions