All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/2] Improve vhost-user VQ notifier unmap
@ 2021-10-08  7:58 Xueming Li
  2021-10-08  7:58 ` [PATCH v3 1/2] vhost-user: fix VirtQ notifier cleanup Xueming Li
  2021-10-08  7:58 ` [PATCH v3 2/2] vhost-user: remove VirtQ notifier restore Xueming Li
  0 siblings, 2 replies; 10+ messages in thread
From: Xueming Li @ 2021-10-08  7:58 UTC (permalink / raw)
  To: qemu-devel; +Cc: xuemingl, qemu-stable

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
v3: minor fix on coding style and comments

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

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

-- 
2.33.0



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2021-10-19  8:07 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-08  7:58 [PATCH v3 0/2] Improve vhost-user VQ notifier unmap Xueming Li
2021-10-08  7:58 ` [PATCH v3 1/2] vhost-user: fix VirtQ notifier cleanup Xueming Li
2021-10-19  6:15   ` Michael S. Tsirkin
2021-10-19  6:45     ` Xueming(Steven) Li
2021-10-19  6:57       ` Michael S. Tsirkin
2021-10-08  7:58 ` [PATCH v3 2/2] vhost-user: remove VirtQ notifier restore Xueming Li
2021-10-19  6:37   ` Michael S. Tsirkin
2021-10-19  7:21     ` Xueming(Steven) Li
2021-10-19  7:24       ` Michael S. Tsirkin
2021-10-19  8:00         ` Xueming(Steven) Li

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.