diff options
author | Paul E. McKenney <paulmck@linux.ibm.com> | 2018-11-26 14:12:39 -0500 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.ibm.com> | 2019-01-25 18:35:23 -0500 |
commit | 5a0874c1d16bf91b3bb0c8e07de688836f30a5af (patch) | |
tree | 5f54c72e4551dd20e481fefa02abe6f047602520 /net/lapb/lapb_subr.c | |
parent | fb60e533beab3bf27adc0e39e03337e7584c6d5a (diff) |
rcu: Remove preemption disabling from expedited CPU selection
It turns out that it is queue_delayed_work_on() rather than
queue_work_on() that has difficulties when used concurrently with
CPU-hotplug removal operations. It is therefore unnecessary to protect
CPU identification and queue_work_on() with preempt_disable().
This commit therefore removes the preempt_disable() and preempt_enable()
from sync_rcu_exp_select_cpus(), which has the further benefit of reducing
the number of changes that must be maintained in the -rt patchset.
Reported-by: Thomas Gleixner <tglx@linutronix.de>
Reported-by: Sebastian Siewior <bigeasy@linutronix.de>
Suggested-by: Boqun Feng <boqun.feng@gmail.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.ibm.com>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions