Commit 33f1371
ftrace: Use asynchronous grace period for register_ftrace_direct()
When running heavy test workloads with KASAN enabled, RCU Tasks grace
periods can extend for many tens of seconds, significantly slowing
trace registration. Therefore, make the registration-side RCU Tasks
grace period be asynchronous via call_rcu_tasks().
Link: https://lore.kernel.org/linux-trace-kernel/ac05be77-2972-475b-9b57-56bef15aa00a@paulmck-laptop
Reported-by: Jakub Kicinski <kuba@kernel.org>
Reported-by: Alexei Starovoitov <ast@kernel.org>
Reported-by: Chris Mason <clm@fb.com>
Reviewed-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>1 parent c5963a0 commit 33f1371
1 file changed
Lines changed: 9 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5366 | 5366 | | |
5367 | 5367 | | |
5368 | 5368 | | |
| 5369 | + | |
| 5370 | + | |
| 5371 | + | |
| 5372 | + | |
| 5373 | + | |
| 5374 | + | |
| 5375 | + | |
5369 | 5376 | | |
5370 | 5377 | | |
5371 | 5378 | | |
| |||
5464 | 5471 | | |
5465 | 5472 | | |
5466 | 5473 | | |
5467 | | - | |
5468 | | - | |
5469 | | - | |
5470 | | - | |
| 5474 | + | |
| 5475 | + | |
5471 | 5476 | | |
5472 | 5477 | | |
5473 | 5478 | | |
| |||
0 commit comments