[PATCH v6 03/11] x86_64: add KASan support

2014-11-05 Thread Andrey Ryabinin
This patch adds arch specific code for kernel address sanitizer. 16TB of virtual addressed used for shadow memory. It's located in range [0xd900 - 0xe900] which belongs to vmalloc area. At early stage we map whole shadow region with zero page. Latter, after pages mapped

[PATCH v6 03/11] x86_64: add KASan support

2014-11-05 Thread Andrey Ryabinin
This patch adds arch specific code for kernel address sanitizer. 16TB of virtual addressed used for shadow memory. It's located in range [0xd900 - 0xe900] which belongs to vmalloc area. At early stage we map whole shadow region with zero page. Latter, after pages mapped