diff options
author | Peter Zijlstra <peterz@infradead.org> | 2019-05-17 13:52:33 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2019-05-24 09:00:11 +0200 |
commit | 4d839dd9e4356bbacf3eb0ab13a549b83b008c21 (patch) | |
tree | 292041201ff781e82df44f9f6a5a60654c8f2ebe /sound/firewire | |
parent | 3f9fbe9bd86c534eba2faf5d840fd44c6049f50e (diff) | |
download | linux-4d839dd9e4356bbacf3eb0ab13a549b83b008c21.tar.gz linux-4d839dd9e4356bbacf3eb0ab13a549b83b008c21.tar.bz2 linux-4d839dd9e4356bbacf3eb0ab13a549b83b008c21.zip |
perf/ring-buffer: Always use {READ,WRITE}_ONCE() for rb->user_page data
We must use {READ,WRITE}_ONCE() on rb->user_page data such that
concurrent usage will see whole values. A few key sites were missing
this.
Suggested-by: Yabin Cui <yabinc@google.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Vince Weaver <vincent.weaver@maine.edu>
Cc: acme@kernel.org
Cc: mark.rutland@arm.com
Cc: namhyung@kernel.org
Fixes: 7b732a750477 ("perf_counter: new output ABI - part 1")
Link: http://lkml.kernel.org/r/20190517115418.394192145@infradead.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'sound/firewire')
0 files changed, 0 insertions, 0 deletions