rcu: Add lockdep_assert_irqs_disabled() to rcu_sched_clock_irq() and callees
authorPaul E. McKenney <paulmck@kernel.org>
Thu, 19 Nov 2020 18:13:06 +0000 (10:13 -0800)
committerPaul E. McKenney <paulmck@kernel.org>
Mon, 4 Jan 2021 23:54:49 +0000 (15:54 -0800)
commita649d25dcc671a33b9cc3176411920fdc5fbd98e
tree6d9f3c9a569cf09b06d5b5f0d44b416d0122908c
parentc5586e32dfe258925c5dbb599bea3eadf34e79c1
rcu: Add lockdep_assert_irqs_disabled() to rcu_sched_clock_irq() and callees

This commit adds a number of lockdep_assert_irqs_disabled() calls
to rcu_sched_clock_irq() and a number of the functions that it calls.
The point of this is to help track down a situation where lockdep appears
to be insisting that interrupts are enabled within these functions, which
should only ever be invoked from the scheduling-clock interrupt handler.

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