Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965103AbaFSUTo (ORCPT ); Thu, 19 Jun 2014 16:19:44 -0400 Received: from qmta12.emeryville.ca.mail.comcast.net ([76.96.27.227]:49968 "EHLO qmta12.emeryville.ca.mail.comcast.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756631AbaFSUTm (ORCPT ); Thu, 19 Jun 2014 16:19:42 -0400 Date: Thu, 19 Jun 2014 15:19:39 -0500 (CDT) From: Christoph Lameter To: Thomas Gleixner cc: "Paul E. McKenney" , Sasha Levin , Pekka Enberg , Matt Mackall , Andrew Morton , Dave Jones , "linux-mm@kvack.org" , LKML Subject: Re: slub/debugobjects: lockup when freeing memory In-Reply-To: Message-ID: References: <53A2F406.4010109@oracle.com> <20140619165247.GA4904@linux.vnet.ibm.com> Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 19 Jun 2014, Thomas Gleixner wrote: > Well, no. Look at the callchain: > > __call_rcu > debug_object_activate > rcuhead_fixup_activate > debug_object_init > kmem_cache_alloc > > So call rcu activates the object, but the object has no reference in > the debug objects code so the fixup code is called which inits the > object and allocates a reference .... So we need to init the object in the page struct before the __call_rcu? -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/