diff options
author | Steven Rostedt <srostedt@redhat.com> | 2008-11-11 18:47:44 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-11-11 18:47:44 +0100 |
commit | f83c9d0fe42a7544b4d4ffcebb2e6716fcfd95c0 (patch) | |
tree | 37532424c8ea5a8dac649cb2baed04223722c09f /crypto/gcm.c | |
parent | f536aafc5a2e6f0c8f1577a155e6f93db5e469f0 (diff) | |
download | linux-f83c9d0fe42a7544b4d4ffcebb2e6716fcfd95c0.tar.gz linux-f83c9d0fe42a7544b4d4ffcebb2e6716fcfd95c0.tar.bz2 linux-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 'crypto/gcm.c')
0 files changed, 0 insertions, 0 deletions