[PATCH] disable debugging version of write_lock()
authorAndrew Morton <akpm@osdl.org>
Sat, 5 Aug 2006 19:13:47 +0000 (12:13 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 6 Aug 2006 15:57:46 +0000 (08:57 -0700)
commit72f0b4e2133ba1d65147d06016c0b6d2202235ca
tree5e03d0c34379db77f50238c546f5417139ac9671
parent927cbe8a3e9ebc466f76af5a5278a520dc2d5699
[PATCH] disable debugging version of write_lock()

We've confirmed that the debug version of write_lock() can get stuck for long
enough to cause NMI watchdog timeouts and hence a crash.

We don't know why, yet.   Disable it for now.

Also disable the similar read_lock() code.  Just in case.

Thanks to Dave Olson <olson@unixfolk.com> for reporting and testing.

Acked-by: Ingo Molnar <mingo@elte.hu>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
lib/spinlock_debug.c