Re: [PATCH RFC v2 2/6] mm/slab: Perform init_on_free earlier

From: Alexander Popov
Date: Thu Oct 01 2020 - 15:48:13 EST


On 30.09.2020 15:50, Alexander Potapenko wrote:
> On Tue, Sep 29, 2020 at 8:35 PM Alexander Popov <alex.popov@xxxxxxxxx> wrote:
>>
>> Currently in CONFIG_SLAB init_on_free happens too late, and heap
>> objects go to the heap quarantine being dirty. Lets move memory
>> clearing before calling kasan_slab_free() to fix that.
>>
>> Signed-off-by: Alexander Popov <alex.popov@xxxxxxxxx>
> Reviewed-by: Alexander Potapenko <glider@xxxxxxxxxx>

Thanks for the review, Alexander!

Do you have any idea how this patch series relates to Memory Tagging support
that is currently developed?

Best regards,
Alexander