Re: [PATCH] vhost_vdpa: remove unnecessary spin_lock in vhost_vring_call

2020-09-09 Thread Jason Wang
On 2020/9/9 下午2:52, Zhu Lingshan wrote: This commit removed unnecessary spin_locks in vhost_vring_call and related operations. Because we manipulate irq offloading contents in vhost_vdpa ioctl code path which is already protected by dev mutex and vq mutex. Signed-off-by: Zhu Lingshan Acked

[PATCH] vhost_vdpa: remove unnecessary spin_lock in vhost_vring_call

2020-09-08 Thread Zhu Lingshan
This commit removed unnecessary spin_locks in vhost_vring_call and related operations. Because we manipulate irq offloading contents in vhost_vdpa ioctl code path which is already protected by dev mutex and vq mutex. Signed-off-by: Zhu Lingshan --- drivers/vhost/vdpa.c | 8 +--- drivers/vho