diff options
| author | Peter Zijlstra <[email protected]> | 2019-05-17 11:52:33 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2019-05-24 07:00:11 +0000 |
| commit | 4d839dd9e4356bbacf3eb0ab13a549b83b008c21 (patch) | |
| tree | 292041201ff781e82df44f9f6a5a60654c8f2ebe /lib/test_stackinit.c | |
| parent | perf/ring_buffer: Add ordering to rb->nest increment (diff) | |
| download | kernel-4d839dd9e4356bbacf3eb0ab13a549b83b008c21.tar.gz kernel-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 <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Vince Weaver <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Fixes: 7b732a750477 ("perf_counter: new output ABI - part 1")
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'lib/test_stackinit.c')
0 files changed, 0 insertions, 0 deletions
