Re: [PATCH v3 4/5] arm64: add KASAN support

2015-07-22 Thread Catalin Marinas
On Wed, Jul 22, 2015 at 01:30:36PM +0300, Andrey Ryabinin wrote: > diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig > index 318175f..61ebb7c 100644 > --- a/arch/arm64/Kconfig > +++ b/arch/arm64/Kconfig > @@ -46,6 +46,7 @@ config ARM64 > select HAVE_ARCH_AUDITSYSCALL > select HAVE_AR

[PATCH v3 4/5] arm64: add KASAN support

2015-07-22 Thread Andrey Ryabinin
This patch adds arch specific code for kernel address sanitizer (see Documentation/kasan.txt). 1/8 of kernel addresses reserved for shadow memory. There was no big enough hole for this, so virtual addresses for shadow were stolen from vmalloc area. At early boot stage the whole shadow region popu