Re: [PATCH mm v3 15/38] kasan: clean up metadata byte definitions

From: Alexander Potapenko
Date: Thu Dec 16 2021 - 05:53:09 EST


On Mon, Dec 13, 2021 at 10:53 PM <andrey.konovalov@xxxxxxxxx> wrote:
>
> From: Andrey Konovalov <andreyknvl@xxxxxxxxxx>
>
> Most of the metadata byte values are only used for Generic KASAN.
>
> Remove KASAN_KMALLOC_FREETRACK definition for !CONFIG_KASAN_GENERIC
> case, and put it along with other metadata values for the Generic
> mode under a corresponding ifdef.
>
> Signed-off-by: Andrey Konovalov <andreyknvl@xxxxxxxxxx>
Reviewed-by: Alexander Potapenko <glider@xxxxxxxxxx>