kmemcheck: add hooks for the page allocator
authorVegard Nossum <vegard.nossum@gmail.com>
Tue, 25 Nov 2008 15:55:53 +0000 (16:55 +0100)
committerVegard Nossum <vegard.nossum@gmail.com>
Mon, 15 Jun 2009 13:48:33 +0000 (15:48 +0200)
commitb1eeab67682a5e397aecf172046b3a8bd4808ae4
treec357b6ac1945dc8beecc2f8c4d84660ad8d35aae
parent9b5cab31897e9e89e36c0c2a89b16b93ff1a971a
kmemcheck: add hooks for the page allocator

This adds support for tracking the initializedness of memory that
was allocated with the page allocator. Highmem requests are not
tracked.

Cc: Dave Hansen <dave@linux.vnet.ibm.com>
Acked-by: Pekka Enberg <penberg@cs.helsinki.fi>
[build fix for !CONFIG_KMEMCHECK]
Signed-off-by: Ingo Molnar <mingo@elte.hu>
[rebased for mainline inclusion]
Signed-off-by: Vegard Nossum <vegard.nossum@gmail.com>
arch/x86/include/asm/thread_info.h
arch/x86/mm/kmemcheck/shadow.c
include/linux/gfp.h
include/linux/kmemcheck.h
mm/kmemcheck.c
mm/page_alloc.c
mm/slab.c
mm/slub.c