Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752827AbdDMLHJ (ORCPT ); Thu, 13 Apr 2017 07:07:09 -0400 Received: from mx2.suse.de ([195.135.220.15]:54933 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752538AbdDMLHF (ORCPT ); Thu, 13 Apr 2017 07:07:05 -0400 Subject: Re: [PATCH tip/core/rcu 01/13] mm: Rename SLAB_DESTROY_BY_RCU to SLAB_TYPESAFE_BY_RCU To: Peter Zijlstra , "Paul E. McKenney" References: <20170412165441.GA17149@linux.vnet.ibm.com> <1492016149-18834-1-git-send-email-paulmck@linux.vnet.ibm.com> <20170413091248.xnctlppstkrm6eq5@hirez.programming.kicks-ass.net> Cc: linux-kernel@vger.kernel.org, mingo@kernel.org, jiangshanlai@gmail.com, dipankar@in.ibm.com, akpm@linux-foundation.org, mathieu.desnoyers@efficios.com, josh@joshtriplett.org, tglx@linutronix.de, rostedt@goodmis.org, dhowells@redhat.com, edumazet@google.com, fweisbec@gmail.com, oleg@redhat.com, bobby.prani@gmail.com, Christoph Lameter , Pekka Enberg , David Rientjes , Joonsoo Kim , linux-mm@kvack.org From: Vlastimil Babka Message-ID: <50d59b9c-fa8e-1992-2613-e84774ec5428@suse.cz> Date: Thu, 13 Apr 2017 13:06:56 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <20170413091248.xnctlppstkrm6eq5@hirez.programming.kicks-ass.net> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1145 Lines: 28 On 04/13/2017 11:12 AM, Peter Zijlstra wrote: > On Wed, Apr 12, 2017 at 09:55:37AM -0700, Paul E. McKenney wrote: >> A group of Linux kernel hackers reported chasing a bug that resulted >> from their assumption that SLAB_DESTROY_BY_RCU provided an existence >> guarantee, that is, that no block from such a slab would be reallocated >> during an RCU read-side critical section. Of course, that is not the >> case. Instead, SLAB_DESTROY_BY_RCU only prevents freeing of an entire >> slab of blocks. > > And that while we wrote a huge honking comment right along with it... > >> [ paulmck: Add "tombstone" comments as requested by Eric Dumazet. ] > > I cannot find any occurrence of "tomb" or "TOMB" in the actual patch, > confused? It's the comments such as: + * Note that SLAB_TYPESAFE_BY_RCU was originally named SLAB_DESTROY_BY_RCU. so that people who remember the old name can git grep its fate. > -- > 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 >