[PATCH] fix uidhash_lock <-> RCU deadlock
authorIngo Molnar <mingo@elte.hu>
Wed, 25 Jan 2006 14:23:07 +0000 (15:23 +0100)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 31 Jan 2006 19:30:18 +0000 (11:30 -0800)
RCU task-struct freeing can call free_uid(), which is taking
uidhash_lock - while other users of uidhash_lock are softirq-unsafe.

The fix is to always take the uidhash_spinlock in a softirq-safe manner.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Acked-by: Paul E. McKenney <paulmck@us.ibm.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

No differences found