]> git.baikalelectronics.ru Git - kernel.git/commit
mm/mempool.c: update the kmemleak stack trace for mempool allocations
authorCatalin Marinas <catalin.marinas@arm.com>
Fri, 6 Jun 2014 21:38:19 +0000 (14:38 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 6 Jun 2014 23:08:17 +0000 (16:08 -0700)
commit6865437de1711ee5b323dc74c4c014e9fdfb3f63
treeebb88b086a86f57675a1997ba30593161c11ae7c
parent0554b921bcb2f67d9e3921ecfbe161f78904485d
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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/mempool.c