[PATCH v4 3/3] mm: Add debug code for SANITIZE_FREED_PAGES

2015-05-14 Thread Anisse Astier
Add debug code for sanitize freed pages to print status and verify pages at alloc to make sure they're clean. It can be useful if you have crashes when using SANITIZE_FREED_PAGES. Signed-off-by: Anisse Astier --- kernel/power/snapshot.c | 8 ++-- mm/Kconfig | 10 ++

[PATCH v4 3/3] mm: Add debug code for SANITIZE_FREED_PAGES

2015-05-14 Thread Anisse Astier
Add debug code for sanitize freed pages to print status and verify pages at alloc to make sure they're clean. It can be useful if you have crashes when using SANITIZE_FREED_PAGES. Signed-off-by: Anisse Astier ani...@astier.eu --- kernel/power/snapshot.c | 8 ++-- mm/Kconfig |