srcu: Disable interrupts directly in srcu_gp_end()
authorPaul E. McKenney <paulmck@kernel.org>
Wed, 8 May 2024 23:47:16 +0000 (16:47 -0700)
committerPaul E. McKenney <paulmck@kernel.org>
Tue, 18 Jun 2024 17:00:48 +0000 (10:00 -0700)
commit4b56b0f5d50c01ffb1372183f5c55e09764ca90e
tree87e10b22f9e87d913c3f1a5954b0601ab9ea5d83
parent51cace13729f8954e5414bea9dbfaf80ebd41a69
srcu: Disable interrupts directly in srcu_gp_end()

Interrupts are enabled in srcu_gp_end(), so this commit switches from
spin_lock_irqsave_rcu_node() and spin_unlock_irqrestore_rcu_node()
to spin_lock_irq_rcu_node() and spin_unlock_irq_rcu_node().

Link: https://lore.kernel.org/all/febb13ab-a4bb-48b4-8e97-7e9f7749e6da@moroto.mountain/
Reported-by: Dan Carpenter <dan.carpenter@linaro.org>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
kernel/rcu/srcutree.c