Skip to content
Commit d5cff635 authored by Catalin Marinas's avatar Catalin Marinas
Browse files

kmemleak: Add the slab memory allocation/freeing hooks



This patch adds the callbacks to kmemleak_(alloc|free) functions from
the slab allocator. The patch also adds the SLAB_NOLEAKTRACE flag to
avoid recursive calls to kmemleak when it allocates its own data
structures.

Signed-off-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
Reviewed-by: default avatarPekka Enberg <penberg@cs.helsinki.fi>
parent 04f70336
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment