From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qc0-f179.google.com (mail-qc0-f179.google.com [209.85.216.179]) by kanga.kvack.org (Postfix) with ESMTP id 986E16B0031 for ; Thu, 19 Jun 2014 16:19:43 -0400 (EDT) Received: by mail-qc0-f179.google.com with SMTP id x3so2643150qcv.38 for ; Thu, 19 Jun 2014 13:19:43 -0700 (PDT) Received: from qmta12.emeryville.ca.mail.comcast.net (qmta12.emeryville.ca.mail.comcast.net. [2001:558:fe2d:44:76:96:27:227]) by mx.google.com with ESMTP id b2si8023395qar.16.2014.06.19.13.19.42 for ; Thu, 19 Jun 2014 13:19:42 -0700 (PDT) Date: Thu, 19 Jun 2014 15:19:39 -0500 (CDT) From: Christoph Lameter 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: owner-linux-mm@kvack.org List-ID: To: Thomas Gleixner Cc: "Paul E. McKenney" , Sasha Levin , Pekka Enberg , Matt Mackall , Andrew Morton , Dave Jones , "linux-mm@kvack.org" , LKML 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, 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