diff options
author | Catalin Marinas <catalin.marinas@arm.com> | 2014-06-06 23:38:20 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-06-07 01:08:17 +0200 |
commit | aedf95ea0583676cd7bfa395681ad744791a433e (patch) | |
tree | ec6157cd2cd37203373c4e1c8ccf93906ceed7f0 /mm/swapfile.c | |
parent | mm/mempool.c: update the kmemleak stack trace for mempool allocations (diff) | |
download | linux-aedf95ea0583676cd7bfa395681ad744791a433e.tar.xz linux-aedf95ea0583676cd7bfa395681ad744791a433e.zip |
mm/memblock.c: call kmemleak directly from memblock_(alloc|free)
Kmemleak could ignore memory blocks allocated via memblock_alloc()
leading to false positives during scanning. This patch adds the
corresponding callbacks and removes kmemleak_free_* calls in
mm/nobootmem.c to avoid duplication.
The kmemleak_alloc() in mm/nobootmem.c is kept since
__alloc_memory_core_early() does not use memblock_alloc() directly.
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>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions