aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2009-12-10 23:20:52 -0500
committerSteven Rostedt <rostedt@goodmis.org>2009-12-10 23:20:52 -0500
commitdd7f59435782a02ceb6d16b9ce823dd3345d75ec (patch)
treed85e0a7b2b587b41afd1c764e7c25b3fa2962613 /include/linux
parent184210154b9aa570099183f6c062ac4eb11190b7 (diff)
ring-buffer: Move resize integrity check under reader lock
While using an application that does splice on the ftrace ring buffer at start up, I triggered an integrity check failure. Looking into this, I discovered that resizing the buffer performs an integrity check after the buffer is resized. This check unfortunately is preformed after it releases the reader lock. If a reader is reading the buffer it may cause the integrity check to trigger a false failure. This patch simply moves the integrity checker under the protection of the ring buffer reader lock. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions