[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCHv2 2/3] virtio: add missing mb() on enable notifi
From: |
Michael S. Tsirkin |
Subject: |
Re: [Qemu-devel] [PATCHv2 2/3] virtio: add missing mb() on enable notification |
Date: |
Tue, 24 Apr 2012 17:48:41 +0300 |
On Tue, Apr 24, 2012 at 04:03:16PM +0200, Paolo Bonzini wrote:
> Il 23/04/2012 15:19, Michael S. Tsirkin ha scritto:
> > @@ -694,7 +698,7 @@ static bool vring_notify(VirtIODevice *vdev, VirtQueue
> > *vq)
> > uint16_t old, new;
> > bool v;
> > /* We need to expose used array entries before checking used event. */
> > - mb();
> > + smp_mb();
>
> This mb() is not in upstream QEMU, only in qemu-kvm.
>
> Paolo
Actually patch 1/3 adds this by mistake.
I tested all 3 together so missed this but it would break
bisect. Will fix, thanks.
[Qemu-devel] [PATCHv2 2/3] virtio: add missing mb() on enable notification, Michael S. Tsirkin, 2012/04/23
[Qemu-devel] [PATCHv2 3/3] virtio: order index/descriptor reads, Michael S. Tsirkin, 2012/04/23
- Re: [Qemu-devel] [PATCHv2 3/3] virtio: order index/descriptor reads, Paolo Bonzini, 2012/04/24
- Re: [Qemu-devel] [PATCHv2 3/3] virtio: order index/descriptor reads, Michael S. Tsirkin, 2012/04/24
- Re: [Qemu-devel] [PATCHv2 3/3] virtio: order index/descriptor reads, Paolo Bonzini, 2012/04/24
- Re: [Qemu-devel] [PATCHv2 3/3] virtio: order index/descriptor reads, Michael S. Tsirkin, 2012/04/24
- Re: [Qemu-devel] [PATCHv2 3/3] virtio: order index/descriptor reads, Paolo Bonzini, 2012/04/24
- Re: [Qemu-devel] [PATCHv2 3/3] virtio: order index/descriptor reads, Michael S. Tsirkin, 2012/04/24
- Re: [Qemu-devel] [PATCHv2 3/3] virtio: order index/descriptor reads, Paolo Bonzini, 2012/04/24
Re: [Qemu-devel] [PATCHv2 0/3] virtio: fix memory access races, Stefan Hajnoczi, 2012/04/24