diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2021-04-13 08:38:08 +0300 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2021-07-03 11:51:17 +0300 |
commit | 22bc63c58e876cc359d0b1566dee3db8ecc16722 (patch) | |
tree | 1c33db49b994b50b7370a647959e7ee29ceebf9d /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 5a2f966d0f3fa0ef6dada7ab9eda74cacee96b8a (diff) | |
download | linux-22bc63c58e876cc359d0b1566dee3db8ecc16722.tar.xz |
virtio_net: move txq wakeups under tx q lock
We currently check num_free outside tx q lock
which is unsafe: new packets can arrive meanwhile
and there won't be space in the queue.
Thus a spurious queue wakeup causing overhead
and even packet drops.
Move the check under the lock to fix that.
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