]> git.ipfire.org Git - thirdparty/qemu.git/commit
vhost: Delete useless read memory barrier
authorEugenio Pérez <eperezma@redhat.com>
Tue, 23 Aug 2022 18:30:28 +0000 (20:30 +0200)
committerJason Wang <jasowang@redhat.com>
Fri, 2 Sep 2022 02:22:39 +0000 (10:22 +0800)
commit9e193cec5db949e4001070442a2f7de7042ef09b
tree9a4f332af4f4c7c26facb66554f99377703f5399
parent86f5f2546f03a3dfde421c715187b262e29b2848
vhost: Delete useless read memory barrier

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 <eperezma@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
hw/virtio/vhost-shadow-virtqueue.c