commit | 3b6505fd8eb86e3ef5ce12b34fe81e9edeb84475 | [log] [tgz] |
---|---|---|
author | Paul E. McKenney <paulmck@linux.ibm.com> | Wed Dec 12 07:20:07 2018 -0800 |
committer | Paul E. McKenney <paulmck@linux.ibm.com> | Fri Jan 25 15:29:58 2019 -0800 |
tree | df923187ad7bac0b1abbb78ae6983693bf99c074 | |
parent | fd897573fa4cfe66ebddf5f4444f36710cf0cad0 [diff] |
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: Paul E. McKenney <paulmck@linux.ibm.com>