[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v4 0/2] Improve vhost-user VQ notifier unmap
From: |
Xueming Li |
Subject: |
[PATCH v4 0/2] Improve vhost-user VQ notifier unmap |
Date: |
Tue, 19 Oct 2021 14:37:53 +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
https://lists.nongnu.org/archive/html/qemu-devel/2021-10/msg01764.html
v4: fix first patch compilation
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
- [PATCH v4 0/2] Improve vhost-user VQ notifier unmap,
Xueming Li <=