aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorHaiyang Zhang <[email protected]>2019-04-30 19:29:07 +0000
committerDavid S. Miller <[email protected]>2019-05-03 23:50:25 -0400
commit93aa4792c3908eac87ddd368ee0fe0564148232b (patch)
treef020f133b06ca0eaa129110bacbb41279f3bd7e5 /tools/perf/scripts/python/exported-sql-viewer.py
parentea9866793d1e925b4d320eaea409263b2a568f38 (diff)
hv_netvsc: fix race that may miss tx queue wakeup
When the ring buffer is almost full due to RX completion messages, a TX packet may reach the "low watermark" and cause the queue stopped. If the TX completion arrives earlier than queue stopping, the wakeup may be missed. This patch moves the check for the last pending packet to cover both EAGAIN and success cases, so the queue will be reliably waked up when necessary. Reported-and-tested-by: Stephan Klein <[email protected]> Signed-off-by: Haiyang Zhang <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions