summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2019-01-31 22:39:32 +0100
committerFelix Fietkau <nbd@nbd.name>2019-05-01 13:03:58 +0200
commit2fe30dce08220cb267641dd7dc3a53363f310622 (patch)
tree8d7f8effa194ec90af24b1b45d192334779ad424 /tools/perf/scripts/python/export-to-postgresql.py
parent90fdc1717b1862eb3d506733f3b3e5217bc0de20 (diff)
mt76: reduce locking in mt76_dma_tx_cleanup
q->tail can be safely updated without locking, because there is no concurrent access. If called from outside of the tasklet (for flushing), the tasklet is always disabled. q->queued can be safely read without locking, as long as the decrement happens within the locked section. This patch allows cleaning up tx packets outside of the section that holds the queue lock for improved performance Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions