Re: ia64 lockdep: trying to register non-static key (mm->mmap_sem)

From: Luming Yu
Date: Thu Nov 26 2009 - 00:52:20 EST


sorry for noise, I've figured it out that locdep annoatation is missed in IA64
__rwsem_initializer.

On Thu, Nov 26, 2009 at 11:43 AM, Luming Yu <luming.yu@xxxxxxxxx> wrote:
> Anybody know how I should do to fix the lockdep
> warning below, which is triggered in
> ia64_brk doing "down_write(&mm->mmap_sem)"
>
> Any comments are appreciated.
>
>
> INFO: trying to register non-static key.
> the code is fine but needs lockdep annotation.
> turning off the locking correctness validator.
>
> Call Trace:
> Â[<a000000100017330>] show_stack+0x70/0xc0
> Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Âsp=e0000004807a7c50 bsp=e0000004807a1c78
> Â[<a0000001000173d0>] dump_stack+0x50/0x80
> Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Âsp=e0000004807a7e20 bsp=e0000004807a1c58
> Â[<a0000001000f7ca0>] __lock_acquire+0x1a0/0x13e0
> Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Âsp=e0000004807a7e20 bsp=e0000004807a1bc0
> Â[<a0000001000fc310>] lock_acquire+0x170/0x1e0
> Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Âsp=e0000004807a7e20 bsp=e0000004807a1b60
> Â[<a0000001008338d0>] down_write+0x70/0x180
> Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Âsp=e0000004807a7e20 bsp=e0000004807a1b28
> Â[<a00000010003b960>] ia64_brk+0x60/0x280
> Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Âsp=e0000004807a7e20 bsp=e0000004807a1aa0
> Â[<a00000010000c620>] ia64_ret_from_syscall+0x0/0x20
>
>
> Thanks,
> Luming
>
--
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/