qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Xueming Li
Subject: [PATCH v2 0/2] Improve vhost-user VQ notifier unmap
Date: Fri, 17 Sep 2021 20:26:14 +0800

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]