[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAAmzW4PbivLRBMDR1HykzpFS_ekF4Z-pkAm3n_a5En-TArZuPQ@mail.gmail.com>
Date: Fri, 11 Dec 2020 10:17:23 +0900
From: Joonsoo Kim <js1304@...il.com>
To: Alexander Popov <alex.popov@...ux.com>
Cc: Christoph Lameter <cl@...ux.com>,
Pekka Enberg <penberg@...nel.org>,
David Rientjes <rientjes@...gle.com>,
Joonsoo Kim <iamjoonsoo.kim@....com>,
Andrew Morton <akpm@...ux-foundation.org>,
Linux Memory Management List <linux-mm@...ck.org>,
LKML <linux-kernel@...r.kernel.org>,
Alexander Potapenko <glider@...gle.com>,
Dmitry Vyukov <dvyukov@...gle.com>, kasan-dev@...glegroups.com,
notify@...nel.org
Subject: Re: [PATCH] mm/slab: Perform init_on_free earlier
2020년 12월 11일 (금) 오전 3:37, Alexander Popov <alex.popov@...ux.com>님이 작성:
>
> Currently in CONFIG_SLAB init_on_free happens too late, and heap
> objects go to the heap quarantine not being erased.
>
> Lets move init_on_free clearing before calling kasan_slab_free().
> In that case heap quarantine will store erased objects, similarly
> to CONFIG_SLUB=y behavior.
>
> Signed-off-by: Alexander Popov <alex.popov@...ux.com>
> Reviewed-by: Alexander Potapenko <glider@...gle.com>
Acked-by: Joonsoo Kim <iamjoonsoo.kim@....com>
Powered by blists - more mailing lists