diff options
author | Ingo Molnar | 2006-12-07 05:40:50 +0100 |
---|---|---|
committer | Linus Torvalds | 2006-12-07 17:39:46 +0100 |
commit | 70e4506765602cca047cfa31933836e354c61a63 (patch) | |
tree | b490e5066404eab1ec7cf5147521c0bd53226b07 /kernel/printk.c | |
parent | [PATCH] Update ext[23] mailing list address (diff) | |
download | kernel-qcow2-linux-70e4506765602cca047cfa31933836e354c61a63.tar.gz kernel-qcow2-linux-70e4506765602cca047cfa31933836e354c61a63.tar.xz kernel-qcow2-linux-70e4506765602cca047cfa31933836e354c61a63.zip |
[PATCH] lockdep: register_lock_class() fix
The hash_lock must only ever be taken with irqs disabled. This happens in
all the important places, except one codepath: register_lock_class(). The
race should trigger rarely because register_lock_class() is quite rare and
single-threaded (happens during init most of the time).
The fix is to disable irqs.
( bug found live in -rt: there preemption is alot more agressive and
preempting with the hash-lock held caused a lockup.)
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel/printk.c')
0 files changed, 0 insertions, 0 deletions