aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorHeiner Kallweit <[email protected]>2020-10-29 18:56:06 +0100
committerJakub Kicinski <[email protected]>2020-10-31 16:35:49 -0700
commit3a689e34973e8717cd57991c6fcf527dc56062b5 (patch)
treeae1f5e03ced0bf1b5a32446a30944ac69818b7f9 /tools/perf/util/scripting-engines/trace-event-python.c
parentc24672cf59b6f7da102833569fa8455132b2b8c2 (diff)
r8169: remove unneeded memory barrier in rtl_tx
tp->dirty_tx isn't changed outside rtl_tx(). Therefore I see no need to guarantee a specific order of reading tp->dirty_tx and tp->cur_tx. Having said that we can remove the memory barrier. In addition use READ_ONCE() when reading tp->cur_tx because it can change in parallel to rtl_tx(). Signed-off-by: Heiner Kallweit <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions