mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00:00
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>
This commit is contained in:
parent
5f78abeebb
commit
d47882078f
1 changed files with 9 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue