Thread (55 messages) 55 messages, 7 authors, 2018-09-19

[PATCH v6 08/18] khwasan: preassign tags to objects with ctors or SLAB_TYPESAFE_BY_RCU

From: Andrey Konovalov <hidden>
Date: 2018-09-18 16:50:50
Also in: linux-doc, linux-kbuild, linux-mm, lkml

On Wed, Sep 12, 2018 at 6:36 PM, Dmitry Vyukov [off-list ref] wrote:
On Wed, Aug 29, 2018 at 1:35 PM, Andrey Konovalov [off-list ref] wrote:
quoted
        if (!shuffle) {
+               start = khwasan_preset_slub_tag(s, start);
                for_each_object_idx(p, idx, s, start, page->objects) {
                        setup_object(s, page, p);
+                       p = khwasan_preset_slub_tag(s, p);

As I commented in the previous patch, can't we do this in
kasan_init_slab_obj(), which should be called in all the right places
already?
As per offline discussion, will do in v7.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help