Re: [BUG] Lockdep recursive locking in kmem_cache_free

From: Arjan van de Ven
Date: Fri Jul 28 2006 - 16:25:23 EST


On Fri, 2006-07-28 at 13:18 -0700, Christoph Lameter wrote:
> 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?

no
not unless the person reporting it has set the various kernel debugging
options, it's only a guestimate with noise in.

>
>
--
if you want to mail me at work (you don't), use arjan (at) linux.intel.com

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/