summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorToshiaki Makita <makita.toshiaki@lab.ntt.co.jp>2018-07-03 10:31:33 +0300
committerDavid S. Miller <davem@davemloft.net>2018-07-04 15:30:46 +0300
commitbe294a51adfc1e1d9884e34480c34e4388f27904 (patch)
treef0f243eb398195ac71bc9f6b741aec7047d04171 /tools/perf/scripts/python/stackcollapse.py
parent027b17603b030f1334ade079b7a3e986569c956b (diff)
downloadlinux-be294a51adfc1e1d9884e34480c34e4388f27904.tar.xz
vhost_net: Avoid rx queue wake-ups during busypoll
We may run handle_rx() while rx work is queued. For example a packet can push the rx work during the window before handle_rx calls vhost_net_disable_vq(). In that case busypoll immediately exits due to vhost_has_work() condition and enables vq again. This can lead to another unnecessary rx wake-ups, so poll rx work instead of enabling the vq. Signed-off-by: Toshiaki Makita <makita.toshiaki@lab.ntt.co.jp> Acked-by: Jason Wang <jasowang@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions