Re: [PATCH v9 15/44] kasan, arm64: only init shadow for software modes

2020-11-11 Thread Alexander Potapenko
On Tue, Nov 10, 2020 at 11:11 PM Andrey Konovalov wrote: > > This is a preparatory commit for the upcoming addition of a new hardware > tag-based (MTE-based) KASAN mode. > > Hardware tag-based KASAN won't be using shadow memory. Only initialize > it when one of the software KASAN modes are

[PATCH v9 15/44] kasan, arm64: only init shadow for software modes

2020-11-10 Thread Andrey Konovalov
This is a preparatory commit for the upcoming addition of a new hardware tag-based (MTE-based) KASAN mode. Hardware tag-based KASAN won't be using shadow memory. Only initialize it when one of the software KASAN modes are enabled. No functional changes for software modes. Signed-off-by: Andrey