diff options
author | Paul E. McKenney <paulmck@kernel.org> | 2024-03-07 15:06:19 -0800 |
---|---|---|
committer | Uladzislau Rezki (Sony) <urezki@gmail.com> | 2024-04-15 16:28:44 +0200 |
commit | c90b9e49782424623e0006abbcab98f835c1f1d8 (patch) | |
tree | 2d37f07ca49db4eb1f141d6f686fb0099203a291 /tools/perf/scripts/python/stackcollapse.py | |
parent | 62bb24c4b022b9ba9cf2e4a72f6cd8c3086f0cf8 (diff) |
rcu: Bring diagnostic read of rcu_state.gp_flags into alignment
This commit adds READ_ONCE() to a lockless diagnostic read from
rcu_state.gp_flags to avoid giving the compiler any chance whatsoever
of confusing the diagnostic state printed.
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Signed-off-by: Uladzislau Rezki (Sony) <urezki@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions