Re: [PATCH v7 03/12] vhost: Delete useless read memory barrier

2022-08-04 Thread Jason Wang
On Fri, Aug 5, 2022 at 2:29 AM Eugenio Pérez wrote: > > As discussed in previous series [1], this memory barrier is useless with > the atomic read of used idx at vhost_svq_more_used. Deleting it. > > [1] https://lists.nongnu.org/archive/html/qemu-devel/2022-07/msg02616.html > > Signed-off-by: Euge

[PATCH v7 03/12] vhost: Delete useless read memory barrier

2022-08-04 Thread Eugenio Pérez
As discussed in previous series [1], this memory barrier is useless with the atomic read of used idx at vhost_svq_more_used. Deleting it. [1] https://lists.nongnu.org/archive/html/qemu-devel/2022-07/msg02616.html Signed-off-by: Eugenio Pérez --- hw/virtio/vhost-shadow-virtqueue.c | 3 --- 1 fil