]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm/mempool.c: update the kmemleak stack trace for mempool allocations
authorCatalin Marinas <catalin.marinas@arm.com>
Sat, 17 May 2014 13:19:28 +0000 (23:19 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 19 May 2014 07:35:03 +0000 (17:35 +1000)
commitf38c7ae7118177abf840135de92f54aee35418c3
tree9cf08d3aa966c2a35b759cec36eabf025d279e6f
parentfdec6be7caf6934c8f8ca7698bd8fafb7cfbf4cd
mm/mempool.c: update the kmemleak stack trace for mempool allocations

When mempool_alloc() returns an existing pool object, kmemleak_alloc() is
no longer called and the stack trace corresponds to the original object
allocation.  This patch updates the kmemleak allocation stack trace for
such objects to make it more useful for debugging.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/mempool.c