]> git.baikalelectronics.ru Git - kernel.git/commit
ring-buffer: do not disable ring buffer on oops_in_progress
authorSteven Rostedt <srostedt@redhat.com>
Wed, 5 Aug 2009 19:26:37 +0000 (15:26 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Thu, 6 Aug 2009 00:20:00 +0000 (20:20 -0400)
commitf9a17f5098f895047a25092cc6590edf78007542
tree838010839e0b7b3e3a403d381f2b56dd065da3d0
parent5df798163a5cd519c03b6b43b2332d8f28b743f8
ring-buffer: do not disable ring buffer on oops_in_progress

The commit:

  commit 971f32a56e81a52aa9e4e8590853dc1236f17ea5
  Author: David Miller <davem@davemloft.net>
  Date:   Fri Aug 1 01:11:22 2008 -0700

    debug_locks: set oops_in_progress if we will log messages.

    Otherwise lock debugging messages on runqueue locks can deadlock the
    system due to the wakeups performed by printk().

Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Will permanently set oops_in_progress on any lockdep failure.
When this triggers it will cause any read from the ring buffer to
permanently disable the ring buffer (not to mention no locking of
printk).

This patch removes the check. It keeps the print in NMI which makes
sense. This is probably OK, since the ring buffer should not cause
something to set oops_in_progress anyway.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/ring_buffer.c