On Thu, 22 Jan 2026 11:24:15 +0800 Yaxiong Tian <[email protected]> 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
