commit | d5cff635290aec9ad7e6ee546aa4fae895361cbb | [log] [tgz] |
---|---|---|
author | Catalin Marinas <catalin.marinas@arm.com> | Thu Jun 11 13:22:40 2009 +0100 |
committer | Catalin Marinas <catalin.marinas@arm.com> | Thu Jun 11 17:03:29 2009 +0100 |
tree | 172d99e0775a2e858d6cfa3ba0a197ecfdd03fce | |
parent | 04f70336c80c43a15e617b36c2043dfa0ad6ed0f [diff] |
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: Catalin Marinas <catalin.marinas@arm.com> Reviewed-by: Pekka Enberg <penberg@cs.helsinki.fi>