[PATCH v2 0/2] Improve vhost-user VQ notifier unmap

Xueming Li posted 2 patches 2 years, 7 months ago
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20210917122616.6067-1-xuemingl@nvidia.com
Maintainers: "Michael S. Tsirkin" <mst@redhat.com>
There is a newer version of this series
hw/virtio/vhost-user.c         | 40 +++++++++++++---------------------
include/hw/virtio/vhost-user.h |  1 -
2 files changed, 15 insertions(+), 26 deletions(-)
[PATCH v2 0/2] Improve vhost-user VQ notifier unmap
Posted by Xueming Li 2 years, 7 months ago
When vDPA applicaiton in client mode shutdown, unmapped VQ notifier
might being accessed by vCPU thread under high tx traffic, it will
crash VM in rare conditon. This patch try to fix it with better RCU
sychronization of new flatview.

v2: no RCU draining on vCPU thread

Xueming Li (2):
  vhost-user: fix VirtQ notifier cleanup
  vhost-user: remove VirtQ notifier restore

 hw/virtio/vhost-user.c         | 40 +++++++++++++---------------------
 include/hw/virtio/vhost-user.h |  1 -
 2 files changed, 15 insertions(+), 26 deletions(-)

-- 
2.33.0