qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCHv2 0/3] virtio: fix memory access races


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] [PATCHv2 0/3] virtio: fix memory access races
Date: Tue, 24 Apr 2012 09:10:12 +0100

On Mon, Apr 23, 2012 at 2:19 PM, Michael S. Tsirkin <address@hidden> wrote:
> This is a follow-up to my previous patch: it turns
> out that a single mb() isn't sufficient as network
> loss could still be triggered under stress.
>
> Patch 1 is repost of v1.
>
> The following two patches fix more races found
> by code inspection and comparison with vhost
> in kernel. After applying these
> patches, no more network loss was observed.
>
> Michael S. Tsirkin (3):
>  virtio: add missing mb() on notification
>  virtio: add missing mb() on enable notification
>  virtio: order index/descriptor reads
>
>  hw/virtio.c    |   11 +++++++++++
>  qemu-barrier.h |   28 +++++++++++++++++++++++++---
>  2 files changed, 36 insertions(+), 3 deletions(-)

Reviewed-by: Stefan Hajnoczi <address@hidden>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]