1. 06 Aug, 2009 2 commits
    • Steven Rostedt's avatar
      ring-buffer: do not disable ring buffer on oops_in_progress · 464e85eb
      Steven Rostedt authored
      The commit:
      
        commit e0fdace1
        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: default avatarDavid S. Miller <davem@davemloft.net>
      Signed-off-by: default avatarIngo 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: default avatarSteven Rostedt <rostedt@goodmis.org>
      464e85eb
    • Steven Rostedt's avatar
      ring-buffer: fix check of try_to_discard result · 0f2541d2
      Steven Rostedt authored
      The function ring_buffer_discard_commit inversed the code path
      of the result of try_to_discard. It should skip incrementing the
      entry counter if try_to_discard succeeded. But instead, it increments
      the entry conder if it succeeded to discard, and does not increment
      it if it fails.
      
      The result of this bug is that filtering will make the stat counters
      incorrect.
      Signed-off-by: default avatarSteven Rostedt <rostedt@goodmis.org>
      0f2541d2
  2. 04 Aug, 2009 1 commit
  3. 28 Jul, 2009 4 commits
  4. 27 Jul, 2009 33 commits