]> 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>
Wed, 14 May 2014 00:02:04 +0000 (10:02 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 14 May 2014 00:02:04 +0000 (10:02 +1000)
commit1c45394c35bbea3a1664048fc938967f381797ba
tree505328baf31dd027a75ad0cc17d0a3376c5aad14
parente82e4c1cf385c980fd5d439d6a0459faea7f92db
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