[Top][All Lists]

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

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

From: Xueming Li
Subject: [PATCH v6 0/2] Improve vhost-user VQ notifier unmap
Date: Mon, 1 Nov 2021 16:38:11 +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
v3: minor fix on coding style and comments
v4: fix first patch compilation
v5: update 2/2 commit message
v6: use call_rcu to avoid dead lock in rcu reader

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

 hw/virtio/vhost-user.c         | 63 ++++++++++++++++------------------
 include/hw/virtio/vhost-user.h |  3 +-
 2 files changed, 31 insertions(+), 35 deletions(-)


reply via email to

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