linux_dsm_epyc7002/drivers/vhost
Jason Wang f5a4941aa6 vhost_net: flush batched heads before trying to busy polling
After commit e2b3b35eb9 ("vhost_net: batch used ring update in rx"),
we tend to batch updating used heads. But it doesn't flush batched
heads before trying to do busy polling, this will cause vhost to wait
for guest TX which waits for the used RX. Fixing by flush batched
heads before busy loop.

1 byte TCP_RR performance recovers from 13107.83 to 50402.65.

Fixes: e2b3b35eb9 ("vhost_net: batch used ring update in rx")
Signed-off-by: Jason Wang <jasowang@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-05-30 13:29:03 -04:00
..
Kconfig
Kconfig.vringh
Makefile
net.c vhost_net: flush batched heads before trying to busy polling 2018-05-30 13:29:03 -04:00
scsi.c
test.c
test.h
vhost.c vhost: synchronize IOTLB message with dev cleanup 2018-05-24 22:09:51 -04:00
vhost.h vhost: return bool from *_access_ok() functions 2018-04-11 10:54:06 -04:00
vringh.c
vsock.c fw_cfg, vhost: features fixes 2018-04-06 19:21:41 -07:00