From: Roman Bobniev Date: Tue, 8 Oct 2013 22:58:57 +0000 (-0700) Subject: slub: proper kmemleak tracking if CONFIG_SLUB_DEBUG disabled X-Git-Tag: v3.13-rc1~15^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d56791b38e34e480d869d1b88735df16c81aa684;p=pandora-kernel.git 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 Acked-by: Christoph Lameter Signed-off-by: Roman Bobniev Signed-off-by: Tim Bird Signed-off-by: Pekka Enberg --- Reading git-diff-tree failed