aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-add.c
diff options
context:
space:
mode:
authorMark-PK Tsai <[email protected]>2022-04-26 20:24:07 +0800
committerSteven Rostedt (Google) <[email protected]>2022-04-26 17:58:52 -0400
commit6621a7004684bfcff5af4c8e4d37989941f42a6b (patch)
tree043f710efee917db850f3c43d7c583f7592b52fc /lib/mpi/mpi-add.c
parentef9188bcc6ca1d8a2ad83e826b548e6820721061 (diff)
tracing: make tracer_init_tracefs initcall asynchronous
Move trace_eval_init() to subsys_initcall to make it start earlier. And to avoid tracer_init_tracefs being blocked by trace_event_sem which trace_eval_init() hold [1], queue tracer_init_tracefs() to eval_map_wq to let the two works being executed sequentially. It can speed up the initialization of kernel as result of making tracer_init_tracefs asynchronous. On my arm64 platform, it reduce ~20ms of 125ms which total time do_initcalls spend. Link: https://lkml.kernel.org/r/[email protected] [1]: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark-PK Tsai <[email protected]> Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions