summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2021-04-13 08:35:26 +0300
committerMichael S. Tsirkin <mst@redhat.com>2021-07-03 11:51:17 +0300
commit5a2f966d0f3fa0ef6dada7ab9eda74cacee96b8a (patch)
tree4a35a4b359dbc99a4a6f7d5d43f6513c0a326fc3 /tools/perf/scripts/python/exported-sql-viewer.py
parent6f5312f801836e6af9bcbb0bdb44dc423e129206 (diff)
downloadlinux-5a2f966d0f3fa0ef6dada7ab9eda74cacee96b8a.tar.xz
virtio_net: move tx vq operation under tx queue lock
It's unsafe to operate a vq from multiple threads. Unfortunately this is exactly what we do when invoking clean tx poll from rx napi. Same happens with napi-tx even without the opportunistic cleaning from the receive interrupt: that races with processing the vq in start_xmit. As a fix move everything that deals with the vq to under tx lock. Fixes: b92f1e6751a6 ("virtio-net: transmit napi") Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions