[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <9c37ff7f-813d-3313-ea8a-fd65484e476a@google.com>
Date: Thu, 10 Dec 2020 15:48:41 -0800 (PST)
From: David Rientjes <rientjes@...gle.com>
To: Alexander Popov <alex.popov@...ux.com>
cc: Christoph Lameter <cl@...ux.com>,
Pekka Enberg <penberg@...nel.org>,
Joonsoo Kim <iamjoonsoo.kim@....com>,
Andrew Morton <akpm@...ux-foundation.org>, linux-mm@...ck.org,
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
On Thu, 10 Dec 2020, Alexander Popov wrote:
> 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: David Rientjes <rientjes@...gle.com>
Powered by blists - more mailing lists