diff options
author | 2009-03-12 11:33:20 -0400 | |
---|---|---|
committer | 2009-03-12 21:14:58 -0400 | |
commit | 1027fcb206a0fb8348e63aff078c74bdee1c2698 (patch) | |
tree | 05e858e410fdb30865a11c78e2bb9bb0a12f55ba /include/linux/kernel.h | |
parent | tracing: fix comments about trace buffer resizing (diff) | |
download | wireguard-linux-1027fcb206a0fb8348e63aff078c74bdee1c2698.tar.xz wireguard-linux-1027fcb206a0fb8348e63aff078c74bdee1c2698.zip |
tracing: protect ring_buffer_expanded with trace_types_lock
Impact: prevent races with ring_buffer_expanded
This patch places the expanding of the tracing buffer under the
protection of the trace_types_lock mutex. It is highly unlikely
that there would be any contention, but better safe than sorry.
Reported-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Diffstat (limited to 'include/linux/kernel.h')
0 files changed, 0 insertions, 0 deletions