Commit 68e8349
ftrace: Avoid synchronize_rcu_tasks_rude() call when not necessary
synchronize_rcu_tasks_rude() triggers IPIs and forces rescheduling on
all CPUs. It is a costly operation and, when targeting nohz_full CPUs,
very disrupting (hence the name). So avoid calling it when 'old_hash'
doesn't need to be freed.
Link: https://lkml.kernel.org/r/20210721114726.1545103-1-nsaenzju@redhat.com
Signed-off-by: Nicolas Saenz Julienne <nsaenzju@redhat.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>1 parent 9528c19 commit 68e8349
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5985 | 5985 | | |
5986 | 5986 | | |
5987 | 5987 | | |
5988 | | - | |
| 5988 | + | |
| 5989 | + | |
5989 | 5990 | | |
5990 | 5991 | | |
5991 | 5992 | | |
| |||
0 commit comments