aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorMagnus Karlsson <[email protected]>2019-12-19 13:39:29 +0100
committerAlexei Starovoitov <[email protected]>2019-12-20 16:00:09 -0800
commitc34787fcc90f0732ff00754057f11780007002e4 (patch)
treee2b70e5a4cebd0e99f5cbbd8dfd4d5df94cb8db6 /tools/perf/scripts/python/bin/export-to-postgresql-report
parentf8509aa078de0842ec1817e8026e58620cd05d3b (diff)
xsk: Remove unnecessary READ_ONCE of data
There are two unnecessary READ_ONCE of descriptor data. These are not needed since the data is written by the producer before it signals that the data is available by incrementing the producer pointer. As the access to this producer pointer is serialized and the consumer always reads the descriptor after it has read and synchronized with the producer counter, the write of the descriptor will have fully completed and it does not matter if the consumer has any read tearing. Signed-off-by: Magnus Karlsson <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions