Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux: Kernel

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

 

 

Linux kernel RSS feed   Index | Next | Previous | View Threaded


luming.yu at gmail

Nov 25, 2009, 7:43 PM

Post #1 of 2 (113 views)
Permalink
ia64 lockdep: trying to register non-static key (mm->mmap_sem)

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 [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


luming.yu at gmail

Nov 25, 2009, 9:52 PM

Post #2 of 2 (108 views)
Permalink
Re: ia64 lockdep: trying to register non-static key (mm->mmap_sem) [In reply to]

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 [at] gmail> 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 [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

Linux kernel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.