Thread (6 messages) 6 messages, 2 authors, 2026-01-26

Re: [PATCH 1/3] tracing: Export eval_map_wq for asynchronous use by other modules

From: Steven Rostedt <rostedt@goodmis.org>
Date: 2026-01-23 20:32:21
Also in: linux-block, lkml

On Thu, 22 Jan 2026 11:24:15 +0800
Yaxiong Tian [off-list ref] wrote:
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.

Making eval_map_wq extern allows other modules to schedule their
work asynchronously on this queue,  preventing it from blocking
the main boot thread.
If you are going to make this wq generic for other parts of the tracing
code, then let's rename it. As "eval_map" is specific to the enum mappings
being updated (which I hope someday I can get that update working at build
time. And when I do, the name will be totally meaningless).

Let's rename it to "trace_init_wq" instead.

-- Steve
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help