Re: [PATCH 1/3] tracing: Export eval_map_wq for asynchronous use by other modules
From: Yaxiong Tian
Date: Sun Jan 25 2026 - 21:45:54 EST
在 2026/1/24 04:32, Steven Rostedt 写道:
On Thu, 22 Jan 2026 11:24:15 +0800
Yaxiong Tian <tianyaxiong@xxxxxxxxxx> wrote:
The eval_map_work_func() function, though queued in eval_map_wq,If you are going to make this wq generic for other parts of the tracing
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.
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
Thank you for your suggestion. I have renamed it to trace_init_wq and released the V2 version.