• S
    ring-buffer: convert to raw spinlocks · 3e03fb7f
    Steven Rostedt 提交于
    Impact: no lockdep debugging of ring buffer
    
    The problem with running lockdep on the ring buffer is that the
    ring buffer is the core infrastructure of ftrace. What happens is
    that the tracer will start tracing the lockdep code while lockdep
    is testing the ring buffers locks.  This can cause lockdep to
    fail due to testing cases that have not fully finished their
    locking transition.
    
    This patch converts the spin locks used by the ring buffer back
    into raw spin locks which lockdep does not check.
    Signed-off-by: NSteven Rostedt <srostedt@redhat.com>
    Signed-off-by: NIngo Molnar <mingo@elte.hu>
    3e03fb7f
ring_buffer.c 48.0 KB