summaryrefslogtreecommitdiff
path: root/mm/internal.h
diff options
context:
space:
mode:
authorCatalin Marinas <catalin.marinas@arm.com>2009-06-11 16:22:39 +0400
committerCatalin Marinas <catalin.marinas@arm.com>2009-06-11 20:03:28 +0400
commit3c7b4e6b8be4c16f1e6e5c558e33b7ff0db2dfaf (patch)
tree3722fc5220bf8d611def5618758b05160ff05312 /mm/internal.h
parent991ec02cdca33b03a132a0cacfe6f0aa0be9aa8d (diff)
downloadlinux-3c7b4e6b8be4c16f1e6e5c558e33b7ff0db2dfaf.tar.xz
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 <catalin.marinas@arm.com> Cc: Ingo Molnar <mingo@elte.hu> Acked-by: Pekka Enberg <penberg@cs.helsinki.fi> Cc: Andrew Morton <akpm@linux-foundation.org> Reviewed-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'mm/internal.h')
0 files changed, 0 insertions, 0 deletions