From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1161274AbWG1USr (ORCPT ); Fri, 28 Jul 2006 16:18:47 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1161279AbWG1USr (ORCPT ); Fri, 28 Jul 2006 16:18:47 -0400 Received: from omx2-ext.sgi.com ([192.48.171.19]:9143 "EHLO omx2.sgi.com") by vger.kernel.org with ESMTP id S1161274AbWG1USp (ORCPT ); Fri, 28 Jul 2006 16:18:45 -0400 Date: Fri, 28 Jul 2006 13:18:14 -0700 (PDT) From: Christoph Lameter To: Thomas Gleixner cc: Pekka Enberg , LKML , Ingo Molnar , Arjan van de Ven , alokk@calsoftinc.com Subject: Re: [BUG] Lockdep recursive locking in kmem_cache_free In-Reply-To: <1154117501.10196.2.camel@localhost.localdomain> Message-ID: References: <1154044607.27297.101.camel@localhost.localdomain> <84144f020607272222o7b1d0270p997b8e3bf07e39e7@mail.gmail.com> <1154067247.27297.104.camel@localhost.localdomain> <1154117501.10196.2.camel@localhost.localdomain> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 28 Jul 2006, Thomas Gleixner wrote: > On Fri, 2006-07-28 at 08:35 -0700, Christoph Lameter wrote: > > On Fri, 28 Jul 2006, Thomas Gleixner wrote: > > > > > If you need more info, I can add debugs. It happens every bootup. > > > > Could you tell me why _spin_lock and _spin_unlock seem > > to be calling into the slab allocator? Also what is child_rip()? Cannot > > find that function upstream. > > arch/x86_64/kernel/entry.S Ah. Ok wrong arch. Why does _spin_unlock_irq call child_rip and then end up in the slab allocator? Why does _spin_lock call kmem_cache_free? Is the stack trace an accurate representation of the calling sequence?