Re: [PATCH] rcu: Convert rcu_state.ofl_lock to raw_spinlock_t

2018-08-15 Thread Paul E. McKenney
On Wed, Aug 15, 2018 at 05:44:05PM +0200, Mike Galbraith wrote: > > 1e64b15a4b10 ("rcu: Fix grace-period hangs due to race with CPU offline") > added spinlock_t ofl_lock to the rcu_state structure, then takes it with > preemption disabled during CPU offline, giving RT sleeping lock heartburn. > >

[PATCH] rcu: Convert rcu_state.ofl_lock to raw_spinlock_t

2018-08-15 Thread Mike Galbraith
1e64b15a4b10 ("rcu: Fix grace-period hangs due to race with CPU offline") added spinlock_t ofl_lock to the rcu_state structure, then takes it with preemption disabled during CPU offline, giving RT sleeping lock heartburn. Convert it to raw_spinlock_t. Signed-off-by: Mike Galbraith --- kernel/