[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.20.1803281700230.23247@nuc-kabylake>
Date: Wed, 28 Mar 2018 17:00:46 -0500 (CDT)
From: Christopher Lameter <cl@...ux.com>
To: Shakeel Butt <shakeelb@...gle.com>
cc: Andrey Ryabinin <aryabinin@...tuozzo.com>,
Vladimir Davydov <vdavydov.dev@...il.com>,
Alexander Potapenko <glider@...gle.com>,
Greg Thelen <gthelen@...gle.com>,
Dmitry Vyukov <dvyukov@...gle.com>,
Pekka Enberg <penberg@...nel.org>,
David Rientjes <rientjes@...gle.com>,
Joonsoo Kim <iamjoonsoo.kim@....com>,
Andrew Morton <akpm@...ux-foundation.org>, linux-mm@...ck.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] slab, slub: skip unnecessary kasan_cache_shutdown()
On Tue, 27 Mar 2018, Shakeel Butt wrote:
> The kasan quarantine is designed to delay freeing slab objects to catch
> use-after-free. The quarantine can be large (several percent of machine
> memory size). When kmem_caches are deleted related objects are flushed
> from the quarantine but this requires scanning the entire quarantine
> which can be very slow. We have seen the kernel busily working on this
> while holding slab_mutex and badly affecting cache_reaper, slabinfo
> readers and memcg kmem cache creations.
Acked-by: Christoph Lameter <cl@...ux.com>
Powered by blists - more mailing lists