summaryrefslogtreecommitdiffstats
path: root/kernel/async.c
diff options
context:
space:
mode:
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>2015-11-17 20:03:11 +0100
committerSteven Rostedt <rostedt@goodmis.org>2015-11-24 15:29:15 +0100
commit8573636ea794fa088f459429e65e47d7776532cf (patch)
treed6d64d4272ae43e061f97c8a3c0c4aa523ed4a0e /kernel/async.c
parentftracetest: Add instance create and delete test (diff)
downloadlinux-8573636ea794fa088f459429e65e47d7776532cf.tar.xz
linux-8573636ea794fa088f459429e65e47d7776532cf.zip
ring-buffer: Use READ_ONCE() for most tail_page access
As cpu_buffer->tail_page may be modified by interrupts at almost any time, the flow of logic is very important. Do not let gcc get smart with re-reading cpu_buffer->tail_page by adding READ_ONCE() around most of its accesses. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/async.c')
0 files changed, 0 insertions, 0 deletions