]> git.baikalelectronics.ru Git - kernel.git/commit
tracing: Wake up waiters when tracing is disabled
authorSteven Rostedt (Google) <rostedt@goodmis.org>
Wed, 28 Sep 2022 22:22:20 +0000 (18:22 -0400)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Thu, 29 Sep 2022 14:17:35 +0000 (10:17 -0400)
commit512c05d310082c7156520aa7124fc977381c954a
tree1e612ee595ef0a6366009cdeaa78932147adfe62
parentbb60d77cb075e4da66f87f88b50d65a3ba714146
tracing: Wake up waiters when tracing is disabled

When tracing is disabled, there's no reason that waiters should stay
waiting, wake them up, otherwise tasks get stuck when they should be
flushing the buffers.

Cc: stable@vger.kernel.org
Fixes: f98f2fd18a93a ("tracing: Do not busy wait in buffer splice")
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
kernel/trace/trace.c