summaryrefslogtreecommitdiffstats
path: root/MAINTAINERS
diff options
context:
space:
mode:
authorStefan Richter2010-08-19 23:13:43 +0200
committerLinus Torvalds2010-08-20 18:34:56 +0200
commit1ee41680572971e34d90d5f584daf33195ec6dcb (patch)
treef34cc8afcba020e0b47e676b5583e5d59fc26306 /MAINTAINERS
parentdrivers/scsi/qla4xxx: fix build (diff)
downloadkernel-qcow2-linux-1ee41680572971e34d90d5f584daf33195ec6dcb.tar.gz
kernel-qcow2-linux-1ee41680572971e34d90d5f584daf33195ec6dcb.tar.xz
kernel-qcow2-linux-1ee41680572971e34d90d5f584daf33195ec6dcb.zip
Documentation: kernel-locking: mutex_trylock cannot be used in interrupt context
Chapter 6 is right about mutex_trylock, but chapter 10 wasn't. This error was introduced during semaphore-to-mutex conversion of the Unreliable guide. :-) If user context which performs mutex_lock() or mutex_trylock() is preempted by interrupt context which performs mutex_trylock() on the same mutex instance, a deadlock occurs. This is because these functions do not disable local IRQs when they operate on mutex->wait_lock. Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de> Acked-by: Rusty Russell <rusty@rustcorp.com.au> Cc: Matthew Wilcox <matthew@wil.cx> Cc: Randy Dunlap <rdunlap@xenotime.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions