From: Catalin Marinas Date: Fri, 6 Jun 2014 21:38:20 +0000 (-0700) Subject: mm/memblock.c: call kmemleak directly from memblock_(alloc|free) X-Git-Tag: omap-for-v3.16/fixes-against-rc1~91^2~4^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aedf95ea0583676cd7bfa395681ad744791a433e;p=pandora-kernel.git 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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed