diff options
| author | Frederic Weisbecker <[email protected]> | 2022-11-25 13:54:59 +0000 |
|---|---|---|
| committer | Paul E. McKenney <[email protected]> | 2023-01-04 01:52:16 +0000 |
| commit | 44757092958bdd749775022f915b7ac974384c2a (patch) | |
| tree | f1cf1a9544ade13086d25e0795eca06bda7c2730 /tools/perf/scripts/python/arm-cs-trace-disasm.py | |
| parent | rcu-tasks: Improve comments explaining tasks_rcu_exit_srcu purpose (diff) | |
| download | kernel-44757092958bdd749775022f915b7ac974384c2a.tar.gz kernel-44757092958bdd749775022f915b7ac974384c2a.zip | |
rcu-tasks: Remove preemption disablement around srcu_read_[un]lock() calls
Ever since the following commit:
5a41344a3d83 ("srcu: Simplify __srcu_read_unlock() via this_cpu_dec()")
SRCU doesn't rely anymore on preemption to be disabled in order to
modify the per-CPU counter. And even then it used to be done from the API
itself.
Therefore and after checking further, it appears to be safe to remove
the preemption disablement around __srcu_read_[un]lock() in
exit_tasks_rcu_start() and exit_tasks_rcu_finish()
Suggested-by: Boqun Feng <[email protected]>
Suggested-by: Paul E. McKenney <[email protected]>
Suggested-by: Neeraj Upadhyay <[email protected]>
Cc: Lai Jiangshan <[email protected]>
Signed-off-by: Frederic Weisbecker <[email protected]>
Signed-off-by: Paul E. McKenney <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/arm-cs-trace-disasm.py')
0 files changed, 0 insertions, 0 deletions
