Re: [BUG] Lockdep recursive locking in kmem_cache_free

From: Thomas Gleixner
Date: Fri Jul 28 2006 - 16:05:16 EST


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

child_rip:
/*
* Here we are in the child and the registers are set as they were
* at kernel_thread() invocation in the parent.
*/
movq %rdi, %rax
movq %rsi, %rdi
call *%rax
# exit
xorl %edi, %edi
call do_exit
ENDPROC(child_rip)

tglx


-
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/