diff options
author | Paul E. McKenney <paulmck@kernel.org> | 2024-03-07 20:14:55 -0800 |
---|---|---|
committer | Uladzislau Rezki (Sony) <urezki@gmail.com> | 2024-04-15 16:48:26 +0200 |
commit | 09e077cf22c4302ab4ca7932f56c5a8b20c9e32b (patch) | |
tree | a3f3e21b7f1c16499eca1e002cd829963f4866bd /tools/perf/scripts/python/stackcollapse.py | |
parent | a542d116bab28b4bcade2f41488f4617373c620f (diff) |
rcu: Mark loads from rcu_state.n_online_cpus
The rcu_state.n_online_cpus value is only ever updated by CPU-hotplug
operations, which are serialized. However, this value is read locklessly.
This commit therefore marks those reads. While in the area, it also
adds ASSERT_EXCLUSIVE_WRITER() calls just in case parallel CPU hotplug
becomes a thing.
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