Re: [PATCH v3] mm/slub: Run free_partial() outside of the kmem_cache_node->list_lock

From: Christoph Lameter
Date: Tue Aug 09 2016 - 12:21:41 EST


On Tue, 9 Aug 2016, Chris Wilson wrote:

> With debugobjects enabled and using SLAB_DESTROY_BY_RCU, when a
> kmem_cache_node is destroyed the call_rcu() may trigger a slab
> allocation to fill the debug object pool (__debug_object_init:fill_pool).
> Everywhere but during kmem_cache_destroy(), discard_slab() is performed
> outside of the kmem_cache_node->list_lock and avoids a lockdep warning
> about potential recursion:

Acked-by: Christoph Lameter <cl@xxxxxxxxx>