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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment