Ingo Molnar 256a6b4136 [PATCH] lockdep: fix printk recursion logic
Bug reported and fixed by Tilman Schmidt <tilman@imap.cc>: if lockdep is
enabled then log messages make it to /var/log/messages belatedly.  The
reason is a missed wakeup of klogd.

Initially there was only a lockdep_internal() protection against lockdep
recursion within vprintk() - it grew the 'outer' lockdep_off()/on()
protection only later on.  But that lockdep_off() made the
release_console_sem() within vprintk() always happen under the
lockdep_internal() condition, causing the bug.

The right solution to remove the inner protection against recursion here -
the outer one is enough.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Cc: Tilman Schmidt <tilman@imap.cc>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-10-11 11:14:24 -07:00
..
2006-10-11 11:14:14 -07:00
2006-10-06 08:53:39 -07:00
2006-09-11 13:32:30 -04:00
2006-10-04 08:31:21 -04:00
2006-09-29 09:18:12 -07:00
2006-10-10 15:37:23 -07:00
2006-10-03 08:03:41 -07:00
2006-10-02 07:57:22 -07:00
2006-10-10 15:37:22 -07:00
2006-03-26 08:57:03 -08:00
2006-09-29 09:18:15 -07:00
2006-10-02 07:57:23 -07:00
2006-07-03 15:27:04 -07:00
2006-10-11 11:14:24 -07:00
2006-09-30 01:47:55 +02:00
2006-09-29 09:18:12 -07:00
2006-10-11 11:14:22 -07:00
2005-04-16 15:20:36 -07:00
2006-10-01 00:39:27 -07:00
2006-04-19 16:27:18 -07:00
2006-07-10 13:24:25 -07:00