diff options
author | 2021-04-13 01:38:08 -0400 | |
---|---|---|
committer | 2021-07-03 04:51:17 -0400 | |
commit | 22bc63c58e876cc359d0b1566dee3db8ecc16722 (patch) | |
tree | 1c33db49b994b50b7370a647959e7ee29ceebf9d /scripts/gdb/linux/utils.py | |
parent | virtio_net: move tx vq operation under tx queue lock (diff) | |
download | linux-dev-22bc63c58e876cc359d0b1566dee3db8ecc16722.tar.xz linux-dev-22bc63c58e876cc359d0b1566dee3db8ecc16722.zip |
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 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions