diff options
author | Paul E. McKenney <paulmck@kernel.org> | 2020-05-26 11:22:03 -0700 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2020-06-29 12:00:45 -0700 |
commit | af2789db13b8dc38d16e969f8c11b9468be42d46 (patch) | |
tree | 1c31ff0a61ac00f9d03a90af054aad76036f1557 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | b864f89ff61492f56b4e8c6713a5efec6540a0e2 (diff) |
refperf: Convert reader_task structure's "start" field to int
This commit converts the reader_task structure's "start" field to int
in order to demote a full barrier to an smp_load_acquire() and also to
simplify the code a bit. While in the area, and to enlist the compiler's
help in ensuring that nothing was missed, the field's name was changed
to start_reader.
Also while in the area, change the main_func() store to use
smp_store_release() to further fortify against wait/wake races.
Cc: Joel Fernandes (Google) <joel@joelfernandes.org>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions