mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* ia64 lockdep: trying to register non-static key (mm->mmap_sem)
@ 2009-11-26  3:43 Luming Yu
  2009-11-26  5:52 ` Luming Yu
  0 siblings, 1 reply; 2+ messages in thread
From: Luming Yu @ 2009-11-26  3:43 UTC (permalink / raw)
  To: LKML; +Cc: Luck, Tony, Ingo Molnar

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: ia64 lockdep: trying to register non-static key (mm->mmap_sem)
  2009-11-26  3:43 ia64 lockdep: trying to register non-static key (mm->mmap_sem) Luming Yu
@ 2009-11-26  5:52 ` Luming Yu
  0 siblings, 0 replies; 2+ messages in thread
From: Luming Yu @ 2009-11-26  5:52 UTC (permalink / raw)
  To: LKML; +Cc: Luck, Tony, Ingo Molnar

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@gmail.com> 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
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-11-26  5:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-26  3:43 ia64 lockdep: trying to register non-static key (mm->mmap_sem) Luming Yu
2009-11-26  5:52 ` Luming Yu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®