+4
−4
+9
−0
+69
−105
File changed.
Preview size limit exceeded, changes collapsed.
Loading
Tree SRCU has used non-raw spinlocks for many years, motivated by a desire to avoid unnecessary real-time latency and the absence of any reason to use raw spinlocks. However, the recent use of SRCU in tracing as the underlying implementation of RCU Tasks Trace means that call_srcu() is invoked from preemption-disabled regions of code, which in turn requires that any locks acquired by call_srcu() or its callees must be raw spinlocks. This commit therefore converts SRCU's spinlocks to raw spinlocks. [boqun: Add Fixes tag] Reported-by:Kumar Kartikeya Dwivedi <memxor@gmail.com> Fixes: c27cea44 ("rcu: Re-implement RCU Tasks Trace in terms of SRCU-fast") Signed-off-by:
Paul E. McKenney <paulmck@kernel.org> Signed-off-by:
Boqun Feng <boqun@kernel.org> Cc: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
File changed.
Preview size limit exceeded, changes collapsed.