summaryrefslogtreecommitdiffstats
path: root/kernel/irq/handle.c
diff options
context:
space:
mode:
authorPavel Emelianov <xemul@sw.ru>2007-05-08 09:29:10 +0200
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-05-08 20:15:09 +0200
commit428e6ce023c5890cfecc8ad10335da3f28dbf893 (patch)
tree17c746035cf727bc5494b9116ae6034724aaede3 /kernel/irq/handle.c
parentmerge compat_ioctl.h into compat_ioctl.c (diff)
downloadlinux-428e6ce023c5890cfecc8ad10335da3f28dbf893.tar.xz
linux-428e6ce023c5890cfecc8ad10335da3f28dbf893.zip
Lockdep treats down_write_trylock like regular down_write
This causes constructions like down_write(&mm1->mmap_sem); if (down_write_trylock(&mm2->mmap_sem)) { ... up_write(&mm2->mmap_sem); } up_write(&mm1->mmap_sem); generate a lockdep warning about circular locking dependence. Call rwsem_acquire() with trylock set to 1. Cc: Ingo Molnar <mingo@elte.hu> Cc: Arjan van de Ven <arjan@infradead.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/irq/handle.c')
0 files changed, 0 insertions, 0 deletions