Steven Rostedt f83c9d0fe4 ring-buffer: add reader lock
Impact: serialize reader accesses to individual CPU ring buffers

The code in the ring buffer expects only one reader at a time, but currently
it puts that requirement on the caller. This is not strong enough, and this
patch adds a "reader_lock" that serializes the access to the reader API
of the ring buffer.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2008-11-11 18:47:44 +01:00
..
2008-11-08 09:51:02 +01:00
2008-11-06 07:50:51 +01:00
2008-11-11 18:47:44 +01:00
2008-11-08 09:51:34 +01:00
2008-11-08 09:51:39 +01:00