kmemleak: Add the slub memory allocation/freeing hooks
authorCatalin Marinas <catalin.marinas@arm.com>
Thu, 11 Jun 2009 12:23:18 +0000 (13:23 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Thu, 11 Jun 2009 16:03:30 +0000 (17:03 +0100)
commit06f22f13f3cc2eff00db09f053218e5d4b757bc8
treeec913d87a0ed78912e22c78ce03d65f9ebd7061d
parent4374e616d28e65265a5b433ceece275449f3d2e3
kmemleak: Add the slub memory allocation/freeing hooks

This patch adds the callbacks to kmemleak_(alloc|free) functions from the
slub allocator.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Cc: Christoph Lameter <cl@linux-foundation.org>
Reviewed-by: Pekka Enberg <penberg@cs.helsinki.fi>
mm/slub.c