Re: [PATCH 1/5] powerpc/32: add support of KASAN_VMALLOC

2020-01-28 Thread Michael Ellerman
On Tue, 2020-01-14 at 17:54:00 UTC, Christophe Leroy wrote: > Add support of KASAN_VMALLOC on PPC32. > > To allow this, the early shadow covering the VMALLOC space > need to be removed once high_memory var is set and before > freeing memblock. > > And the VMALLOC area need to be aligned such

[PATCH 1/5] powerpc/32: add support of KASAN_VMALLOC

2020-01-14 Thread Christophe Leroy
Add support of KASAN_VMALLOC on PPC32. To allow this, the early shadow covering the VMALLOC space need to be removed once high_memory var is set and before freeing memblock. And the VMALLOC area need to be aligned such that boundaries are covered by a full shadow page. Signed-off-by: Christophe