diff options
author | 2008-11-11 18:47:44 +0100 | |
---|---|---|
committer | 2008-11-11 18:47:44 +0100 | |
commit | f83c9d0fe42a7544b4d4ffcebb2e6716fcfd95c0 (patch) | |
tree | 37532424c8ea5a8dac649cb2baed04223722c09f /include/linux/stacktrace.h | |
parent | ring-buffer: replace most bug ons with warn on and disable buffer (diff) | |
download | linux-rng-f83c9d0fe42a7544b4d4ffcebb2e6716fcfd95c0.tar.xz linux-rng-f83c9d0fe42a7544b4d4ffcebb2e6716fcfd95c0.zip |
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>
Diffstat (limited to 'include/linux/stacktrace.h')
0 files changed, 0 insertions, 0 deletions