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

Andrey Konovalov andreyknvl at google.com
Thu Jan 21 07:27:08 EST 2021


On Thu, Jan 21, 2021 at 12:30 PM Vincenzo Frascino
<vincenzo.frascino at arm.com> wrote:
>
> 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.

OK, let's keep it.



More information about the linux-arm-kernel mailing list