Commit 1c48f7a
tracing: Rename
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>eval_map_wq and allow other parts of tracing use it1 parent 02b75ec commit 1c48f7a
2 files changed
Lines changed: 10 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10785 | 10785 | | |
10786 | 10786 | | |
10787 | 10787 | | |
10788 | | - | |
| 10788 | + | |
10789 | 10789 | | |
10790 | 10790 | | |
10791 | 10791 | | |
| |||
10801 | 10801 | | |
10802 | 10802 | | |
10803 | 10803 | | |
10804 | | - | |
10805 | | - | |
10806 | | - | |
| 10804 | + | |
| 10805 | + | |
| 10806 | + | |
10807 | 10807 | | |
10808 | 10808 | | |
10809 | 10809 | | |
10810 | 10810 | | |
10811 | 10811 | | |
10812 | | - | |
| 10812 | + | |
10813 | 10813 | | |
10814 | 10814 | | |
10815 | 10815 | | |
| |||
10818 | 10818 | | |
10819 | 10819 | | |
10820 | 10820 | | |
10821 | | - | |
10822 | | - | |
| 10821 | + | |
| 10822 | + | |
10823 | 10823 | | |
10824 | 10824 | | |
10825 | 10825 | | |
| |||
10980 | 10980 | | |
10981 | 10981 | | |
10982 | 10982 | | |
10983 | | - | |
| 10983 | + | |
10984 | 10984 | | |
10985 | | - | |
| 10985 | + | |
10986 | 10986 | | |
10987 | 10987 | | |
10988 | 10988 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
769 | 769 | | |
770 | 770 | | |
771 | 771 | | |
| 772 | + | |
772 | 773 | | |
773 | 774 | | |
774 | 775 | | |
| |||
0 commit comments