]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[PATCH] lockdep: fix delayacct locking bug
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Mon, 6 Nov 2006 07:52:10 +0000 (23:52 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 6 Nov 2006 09:46:23 +0000 (01:46 -0800)
commit64efade11cddc4237c1b95ea4ca18af122a7e19e
tree0a98f64b43f1b1199a45bcdff07743afbb526989
parente5b9a335fd2180c6db1bcc4b24e83aff7481ebe3
[PATCH] lockdep: fix delayacct locking bug

Make the delayacct lock irqsave; this avoids the possible deadlock where
an interrupt is taken while holding the delayacct lock which needs to
take the delayacct lock.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Acked-by: Oleg Nesterov <oleg@tv-sign.ru>
Cc: Balbir Singh <balbir@in.ibm.com>
Cc: Shailabh Nagar <nagar@watson.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/delayacct.c