Skip to content
Commit 5a0874c1 authored by Paul E. McKenney's avatar Paul E. McKenney
Browse files

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: default avatarThomas Gleixner <tglx@linutronix.de>
Reported-by: default avatarSebastian Siewior <bigeasy@linutronix.de>
Suggested-by: default avatarBoqun Feng <boqun.feng@gmail.com>
Signed-off-by: default avatarPaul E. McKenney <paulmck@linux.ibm.com>
parent fb60e533
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment