Re: [PATCH RFC v2 12/21] kasan: inline and rename kasan_unpoison_memory

2020-10-30 Thread Dmitry Vyukov
On Fri, Oct 30, 2020 at 5:35 PM 'Andrey Konovalov' via kasan-dev wrote: > > On Thu, Oct 22, 2020 at 3:19 PM Andrey Konovalov > > wrote: > > > > > > Currently kasan_unpoison_memory() is used as both an external annotation > > > and as internal memory poisoning helper. Rename external annotation t

Re: [PATCH RFC v2 12/21] kasan: inline and rename kasan_unpoison_memory

2020-10-30 Thread Andrey Konovalov
On Wed, Oct 28, 2020 at 12:36 PM Dmitry Vyukov wrote: > > On Thu, Oct 22, 2020 at 3:19 PM Andrey Konovalov > wrote: > > > > Currently kasan_unpoison_memory() is used as both an external annotation > > and as internal memory poisoning helper. Rename external annotation to > > kasan_unpoison_data(

Re: [PATCH RFC v2 12/21] kasan: inline and rename kasan_unpoison_memory

2020-10-28 Thread Dmitry Vyukov
On Thu, Oct 22, 2020 at 3:19 PM Andrey Konovalov wrote: > > Currently kasan_unpoison_memory() is used as both an external annotation > and as internal memory poisoning helper. Rename external annotation to > kasan_unpoison_data() and inline the internal helper for for hardware > tag-based mode to

[PATCH RFC v2 12/21] kasan: inline and rename kasan_unpoison_memory

2020-10-22 Thread Andrey Konovalov
Currently kasan_unpoison_memory() is used as both an external annotation and as internal memory poisoning helper. Rename external annotation to kasan_unpoison_data() and inline the internal helper for for hardware tag-based mode to avoid undeeded function calls. There's the external annotation kas