]> git.ipfire.org Git - thirdparty/linux.git/commit
tracing: Rename `eval_map_wq` and allow other parts of tracing use it
authorYaxiong Tian <tianyaxiong@kylinos.cn>
Wed, 4 Feb 2026 01:53:44 +0000 (09:53 +0800)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Fri, 6 Feb 2026 20:26:59 +0000 (15:26 -0500)
commit1c48f7ab72a8c9d6419622931e622e5247e979f5
treeb484ee9a1bf29cd0235477ef8fa7fb67cbd04269
parent02b75ece53bb6e7b75b987d5728949451d1dc8a9
tracing: Rename `eval_map_wq` and allow other parts of tracing use it

The eval_map_work_func() function, though queued in eval_map_wq,
holds the trace_event_sem read-write lock for a long time during
kernel boot. This causes blocking issues for other functions.

Rename eval_map_wq to trace_init_wq and make it global, thereby
allowing other parts of tracing to schedule work on this queue
asynchronously and avoiding blockage of the main boot thread.

Link: https://patch.msgid.link/20260204015344.162818-1-tianyaxiong@kylinos.cn
Suggested-by: Steven Rostedt <rostedt@goodmis.org>
Acked-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Signed-off-by: Yaxiong Tian <tianyaxiong@kylinos.cn>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
kernel/trace/trace.c
kernel/trace/trace.h