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>
Showing
- arch/x86/include/asm/thread_info.h 2 additions, 2 deletionsarch/x86/include/asm/thread_info.h
- arch/x86/mm/kmemcheck/shadow.c 8 additions, 0 deletionsarch/x86/mm/kmemcheck/shadow.c
- include/linux/gfp.h 5 additions, 0 deletionsinclude/linux/gfp.h
- include/linux/kmemcheck.h 29 additions, 6 deletionsinclude/linux/kmemcheck.h
- mm/kmemcheck.c 32 additions, 13 deletionsmm/kmemcheck.c
- mm/page_alloc.c 18 additions, 0 deletionsmm/page_alloc.c
- mm/slab.c 10 additions, 5 deletionsmm/slab.c
- mm/slub.c 18 additions, 5 deletionsmm/slub.c
Loading
Please register or sign in to comment