Re: [PATCH v2 1/5] arm64: kasan: allow to init memory when setting tags

2021-03-09 Thread Andrey Konovalov
On Mon, Mar 8, 2021 at 5:58 PM Catalin Marinas wrote: > > On Mon, Mar 08, 2021 at 04:55:14PM +0100, Andrey Konovalov wrote: > > @@ -68,10 +69,16 @@ static inline void mte_set_mem_tag_range(void *addr, > > size_t size, u8 tag) > >* 'asm volatile' is required to prevent the

Re: [PATCH v2 1/5] arm64: kasan: allow to init memory when setting tags

2021-03-08 Thread Catalin Marinas
On Mon, Mar 08, 2021 at 04:55:14PM +0100, Andrey Konovalov wrote: > @@ -68,10 +69,16 @@ static inline void mte_set_mem_tag_range(void *addr, > size_t size, u8 tag) >* 'asm volatile' is required to prevent the compiler to move >* the statement outside of the loop. >