summaryrefslogtreecommitdiffstats
path: root/mm/kmemleak.c
diff options
context:
space:
mode:
authorCatalin Marinas2009-10-28 14:33:08 +0100
committerCatalin Marinas2009-10-28 14:33:08 +0100
commite7cb55b946a2182c347047dc903c6ed0daef100c (patch)
tree28cc01bd513418a4917358b748481d3a31f69ab1 /mm/kmemleak.c
parentLinux 2.6.32-rc5 (diff)
downloadkernel-qcow2-linux-e7cb55b946a2182c347047dc903c6ed0daef100c.tar.gz
kernel-qcow2-linux-e7cb55b946a2182c347047dc903c6ed0daef100c.tar.xz
kernel-qcow2-linux-e7cb55b946a2182c347047dc903c6ed0daef100c.zip
kmemleak: Do not use off-slab management with SLAB_NOLEAKTRACE
With the slab allocator, if off-slab management is enabled for the kmem_caches used by kmemleak, it leads to recursive calls into kmemleak_alloc(). Off-slab management can be triggered by other config options increasing the slab size, e.g. DEBUG_PAGEALLOC. Reported-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> Reviewed-by: Pekka Enberg <penberg@cs.helsinki.fi> Cc: Christoph Lameter <cl@linux-foundation.org> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'mm/kmemleak.c')
0 files changed, 0 insertions, 0 deletions