commit | d47882078f05c2cb46b85f1e12a58ed9315b9d63 | [log] [tgz] |
---|---|---|
author | Steven Rostedt <srostedt@redhat.com> | Wed Jun 17 00:39:43 2009 -0400 |
committer | Steven Rostedt <rostedt@goodmis.org> | Wed Jun 17 14:16:23 2009 -0400 |
tree | ad10f2172384d2112b6e8136b9981a0eb813539b | |
parent | 5f78abeebbf0a80975d719e11374535ca15396cb [diff] |
ring-buffer: add locks around rb_per_cpu_empty The checking of whether the buffer is empty or not needs to be serialized among the readers. Add the reader spin lock around it. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>