aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stat-cpi.py
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.ibm.com>2018-12-12 07:20:07 -0800
committerPaul E. McKenney <paulmck@linux.ibm.com>2019-01-25 15:29:58 -0800
commit3b6505fd8eb86e3ef5ce12b34fe81e9edeb84475 (patch)
treedf923187ad7bac0b1abbb78ae6983693bf99c074 /tools/perf/scripts/python/stat-cpi.py
parentfd897573fa4cfe66ebddf5f4444f36710cf0cad0 (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>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions