[PATCH 5/5] kasan, mm: integrate slab init_on_free with HW_TAGS

Andrey Konovalov andreyknvl at google.com
Mon Mar 8 14:16:35 GMT 2021


On Mon, Mar 8, 2021 at 12:45 PM Marco Elver <elver at google.com> wrote:
>
> >
> > -     if (unlikely(slab_want_init_on_free(cachep)))
> > +     /*
> > +      * As memory initialization is integrated with hardware tag-based
>
> This may no longer be true if the HW-tags architecture doesn't support
> init (although currently it is certainly true).
>
> Perhaps: "As memory initialization may be accelerated by some KASAN
> implementations (such as some HW_TAGS architectures) ..."
>
> or whatever else is appropriate.

Will change the comment here and in other patches, thanks!



More information about the linux-arm-kernel mailing list