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

From
Andrey Konovalov <hidden>
Date
2021-03-08 14:17:47
Also in
linux-mm, lkml
Reply to
Marco Elver, 2021-03-08
On Mon, Mar 8, 2021 at 12:45 PM Marco Elver [off-list ref] wrote:
quoted

-     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!

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Thread (14 messages) 14 messages, 2 authors, last reply 2021-03-08
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help