From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-it0-f71.google.com (mail-it0-f71.google.com [209.85.214.71]) by kanga.kvack.org (Postfix) with ESMTP id 022A76B0253 for ; Tue, 9 Aug 2016 12:22:36 -0400 (EDT) Received: by mail-it0-f71.google.com with SMTP id j124so56840197ith.1 for ; Tue, 09 Aug 2016 09:22:35 -0700 (PDT) Received: from resqmta-po-04v.sys.comcast.net (resqmta-po-04v.sys.comcast.net. [96.114.154.163]) by mx.google.com with ESMTPS id l5si31256022ioe.59.2016.08.09.09.22.35 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 09 Aug 2016 09:22:35 -0700 (PDT) Date: Tue, 9 Aug 2016 11:21:33 -0500 (CDT) From: Christoph Lameter Subject: Re: [PATCH v3] mm/slub: Run free_partial() outside of the kmem_cache_node->list_lock In-Reply-To: <1470759070-18743-1-git-send-email-chris@chris-wilson.co.uk> Message-ID: References: <1470756466-12493-1-git-send-email-chris@chris-wilson.co.uk> <1470759070-18743-1-git-send-email-chris@chris-wilson.co.uk> Content-Type: text/plain; charset=US-ASCII Sender: owner-linux-mm@kvack.org List-ID: To: Chris Wilson Cc: linux-kernel@vger.kernel.org, Pekka Enberg , David Rientjes , Joonsoo Kim , Andrew Morton , Dmitry Safonov , Vladimir Davydov , Daniel Vetter , Dave Gordon , linux-mm@kvack.org 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 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org