[RFC/PATCH -next 02/21] init: main: initialize kasan's shadow area on boot

2014-07-09 Thread Andrey Ryabinin
This patch initializes shadow area after it was allocated by arch code. All low memory marked as accessible except shadow area itself. Later free_all_bootmem() will release pages to buddy allocator and these pages will be marked as unaccessible, untill somebody will allocate them. Signed-off-by:

[RFC/PATCH -next 02/21] init: main: initialize kasan's shadow area on boot

2014-07-09 Thread Andrey Ryabinin
This patch initializes shadow area after it was allocated by arch code. All low memory marked as accessible except shadow area itself. Later free_all_bootmem() will release pages to buddy allocator and these pages will be marked as unaccessible, untill somebody will allocate them. Signed-off-by: