Re: [PATCH] kasan: Add explicit preconditions to kasan_report()

From: Vincenzo Frascino
Date: Thu Jan 21 2021 - 06:33:03 EST


Hi Andrey,

On 1/19/21 8:56 PM, Andrey Konovalov wrote:
>> return (is_vmalloc_addr(addr) || virt_addr_valid(addr));
> Do we need is_vmalloc_addr()? As we don't yet have vmalloc support for HW_TAGS.

It is not necessary but it does not hurt, since we are going to add vmalloc
anyway at some point, I would keep it here.

--
Regards,
Vincenzo