Skip to content
Commit 3b6505fd authored by Paul E. McKenney's avatar Paul E. McKenney
Browse files

rcu: Protect rcu_check_gp_kthread_starvation() access to ->gp_flags



The rcu_check_gp_kthread_starvation() function can be invoked without
holding locks, so the access to the rcu_state structure's ->gp_flags
field must be protected with READ_ONCE().  This commit therefore adds
this protection.

Signed-off-by: default avatarPaul E. McKenney <paulmck@linux.ibm.com>
parent fd897573
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment