]> bbs.cooldavid.org Git - net-next-2.6.git/commit
kmemleak: Do not report alloc_bootmem blocks as leaks
authorCatalin Marinas <catalin.marinas@arm.com>
Thu, 27 Aug 2009 13:29:17 +0000 (14:29 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Thu, 27 Aug 2009 13:29:17 +0000 (14:29 +0100)
commit008139d9146f9afee0e58df4b7422d0c9921f8ce
tree8c9259521435afe264ce3479ba696b00848c7b3e
parentfd6789675ebfb9185cb4fb68dc51010b4e95d952
kmemleak: Do not report alloc_bootmem blocks as leaks

This patch sets the min_count for alloc_bootmem objects to 0 so that
they are never reported as leaks. This is because many of these blocks
are only referred via the physical address which is not looked up by
kmemleak.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Cc: Pekka Enberg <penberg@cs.helsinki.fi>
mm/bootmem.c