]> git.baikalelectronics.ru Git - kernel.git/commit
mm: introduce kmemleak_update_trace()
authorCatalin Marinas <catalin.marinas@arm.com>
Fri, 6 Jun 2014 21:38:17 +0000 (14:38 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 6 Jun 2014 23:08:17 +0000 (16:08 -0700)
commitb4d2de7f1ce31bf9fa062f151c919d0b072b7b2a
treeef16269fb598e941c9e0c90004a8cc20f2133760
parent3170b28c7693c499911f0837acd06208e422b588
mm: introduce kmemleak_update_trace()

The memory allocation stack trace is not always useful for debugging a
memory leak (e.g.  radix_tree_preload).  This function, when called,
updates the stack trace for an already allocated object.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Documentation/kmemleak.txt
include/linux/kmemleak.h
mm/kmemleak.c