aboutsummaryrefslogtreecommitdiff
path: root/crypto/hash_info.c
diff options
context:
space:
mode:
authorSteven Rostedt (Red Hat)2015-11-17 14:03:11 -0500
committerSteven Rostedt2015-11-24 09:29:15 -0500
commit8573636ea794fa088f459429e65e47d7776532cf (patch)
treed6d64d4272ae43e061f97c8a3c0c4aa523ed4a0e /crypto/hash_info.c
parent3cbd6a43be932e56907abd21091314dc044175f2 (diff)
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 'crypto/hash_info.c')
0 files changed, 0 insertions, 0 deletions