rcu: Add lockdep_assert_irqs_disabled() to raw_spin_unlock_rcu_node() macros
authorPaul E. McKenney <paulmck@kernel.org>
Thu, 19 Nov 2020 21:30:33 +0000 (13:30 -0800)
committerPaul E. McKenney <paulmck@kernel.org>
Mon, 4 Jan 2021 23:54:49 +0000 (15:54 -0800)
commit7dffe01765d9309b8bd5505503933ec0ec53d192
tree2a4a4e4b4b41bd08e5b3dc4496bbe9b3598e03ec
parenta649d25dcc671a33b9cc3176411920fdc5fbd98e
rcu: Add lockdep_assert_irqs_disabled() to raw_spin_unlock_rcu_node() macros

This commit adds a lockdep_assert_irqs_disabled() call to the
helper macros that release the rcu_node structure's ->lock, namely
to raw_spin_unlock_rcu_node(), raw_spin_unlock_irq_rcu_node() and
raw_spin_unlock_irqrestore_rcu_node().  The point of this is to help track
down a situation where lockdep appears to be insisting that interrupts
are enabled while holding an rcu_node structure's ->lock.

Link: https://lore.kernel.org/lkml/20201111133813.GA81547@elver.google.com/
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
kernel/rcu/rcu.h