rcu: Mark __rcu_irq_enter_check_tick() ->rcu_urgent_qs load
authorPaul E. McKenney <paulmck@kernel.org>
Tue, 27 Jun 2023 01:37:05 +0000 (18:37 -0700)
committerPaul E. McKenney <paulmck@kernel.org>
Wed, 16 Aug 2023 21:27:41 +0000 (14:27 -0700)
commit343640cb5b4ed349b3656ee4b100b36e2ae7e2da
tree2d07a650fd65be34bc87157838ef76db3243f42e
parented2b9e1b6d82c729b2757b449097f28f108b023b
rcu: Mark __rcu_irq_enter_check_tick() ->rcu_urgent_qs load

The rcu_request_urgent_qs_task() function does a cross-CPU store
to ->rcu_urgent_qs, so this commit therefore marks the load in
__rcu_irq_enter_check_tick() with READ_ONCE().

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Reviewed-by: Joel Fernandes (Google) <joel@joelfernandes.org>
kernel/rcu/tree.c