From: Catalin Marinas Date: Thu, 11 Jun 2009 12:22:39 +0000 (+0100) Subject: kmemleak: Add the base support X-Git-Tag: v2.6.31-rc1~382^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c7b4e6b8be4c16f1e6e5c558e33b7ff0db2dfaf;p=pandora-kernel.git kmemleak: Add the base support This patch adds the base support for the kernel memory leak detector. It traces the memory allocation/freeing in a way similar to the Boehm's conservative garbage collector, the difference being that the unreferenced objects are not freed but only shown in /sys/kernel/debug/kmemleak. Enabling this feature introduces an overhead to memory allocations. Signed-off-by: Catalin Marinas Cc: Ingo Molnar Acked-by: Pekka Enberg Cc: Andrew Morton Reviewed-by: Paul E. McKenney --- Reading git-diff-tree failed