Re: [PATCH v9 43/44] kasan: add documentation for hardware tag-based mode

From: Andrey Konovalov
Date: Wed Nov 11 2020 - 13:55:05 EST


On Wed, Nov 11, 2020 at 5:57 PM Alexander Potapenko <glider@xxxxxxxxxx> wrote:
>
> On Tue, Nov 10, 2020 at 11:12 PM Andrey Konovalov <andreyknvl@xxxxxxxxxx> wrote:
> >
> > Add documentation for hardware tag-based KASAN mode and also add some
> > clarifications for software tag-based mode.
> >
> > Signed-off-by: Andrey Konovalov <andreyknvl@xxxxxxxxxx>
> > Signed-off-by: Vincenzo Frascino <vincenzo.frascino@xxxxxxx>
> > Reviewed-by: Marco Elver <elver@xxxxxxxxxx>
> > ---
> > Change-Id: Ib46cb444cfdee44054628940a82f5139e10d0258
>
> > +
> > +Software tag-based KASAN currently only supports tagging of slab memory.
>
> I think the reader may confuse "slab memory" here with "memory
> returned by SLAB" (as opposed to SLUB).
> Maybe "heap memory" is less ambiguous?

I think heap memory isn't widely used in the kernel context. But I'll
clarify this part in v10, thanks!