diff options
| author | Nicolas Saenz Julienne <[email protected]> | 2021-07-21 11:47:26 +0000 |
|---|---|---|
| committer | Steven Rostedt (VMware) <[email protected]> | 2021-07-23 12:45:53 +0000 |
| commit | 68e83498cb4fad31963b5c76a71e80b824bc316e (patch) | |
| tree | 23ab37016b6548a6acd613d10a224243b9dc8cfd /lib/debugobjects.c | |
| parent | tracing: Clean up alloc_synth_event() (diff) | |
| download | kernel-68e83498cb4fad31963b5c76a71e80b824bc316e.tar.gz kernel-68e83498cb4fad31963b5c76a71e80b824bc316e.zip | |
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/[email protected]
Signed-off-by: Nicolas Saenz Julienne <[email protected]>
Signed-off-by: Steven Rostedt (VMware) <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
