Commit 4475709
rcu-tasks: Remove preemption disablement around srcu_read_[un]lock() calls
Ever since the following commit:
5a41344 ("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 <boqun.feng@gmail.com>
Suggested-by: Paul E. McKenney <paulmck@kernel.org>
Suggested-by: Neeraj Upadhyay <quic_neeraju@quicinc.com>
Cc: Lai Jiangshan <jiangshanlai@gmail.com>
Signed-off-by: Frederic Weisbecker <frederic@kernel.org>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>1 parent e4e1e80 commit 4475709
1 file changed
Lines changed: 0 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1008 | 1008 | | |
1009 | 1009 | | |
1010 | 1010 | | |
1011 | | - | |
1012 | 1011 | | |
1013 | | - | |
1014 | 1012 | | |
1015 | 1013 | | |
1016 | 1014 | | |
| |||
1022 | 1020 | | |
1023 | 1021 | | |
1024 | 1022 | | |
1025 | | - | |
1026 | 1023 | | |
1027 | | - | |
1028 | 1024 | | |
1029 | 1025 | | |
1030 | 1026 | | |
| |||
0 commit comments