public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: "Yan Vugenfirer" <yvugenfi@redhat.com>
To: "'Vadim Rozenfeld'" <vrozenfe@redhat.com>, <kvm@vger.kernel.org>
Subject: RE: [PATCH] viostor driver.Add memory barrier - synch with fix for Linux guests by Michael S. Tsirkin <mst@redhat.com>
Date: Sun, 1 Nov 2009 08:29:09 -0500 (EST)	[thread overview]
Message-ID: <013401ca5af7$4bcc69b0$e3653d10$@com> (raw)
In-Reply-To: <4AED65C9.70602@redhat.com>

Committed. Thanks.


> -----Original Message-----
> From: kvm-owner@vger.kernel.org [mailto:kvm-owner@vger.kernel.org] On
> Behalf Of Vadim Rozenfeld
> Sent: Sunday, November 01, 2009 12:41 PM
> To: kvm@vger.kernel.org
> Subject: [PATCH] viostor driver.Add memory barrier - synch with fix for
> Linux guests by Michael S. Tsirkin <mst@redhat.com>
> 
> 
> repository: /home/vadimr/shares/kvm-guest-drivers-windows
> branch: XP
> commit 6906acfc2d5f58df43ebc9c190e1447ff6e63a01
> Author: Vadim Rozenfeld<vrozenfe@redhat.com>
> Date:   Sun Nov 1 11:54:03 2009 +0200
> 
>      [PATCH] viostor driver.Add memory read barrier - synch with fix
> for Linux guests by Michael S. Tsirkin<mst@redhat.com>
> 
>      Signed-off-by: Vadim Rozenfeld<vrozenfe@redhat.com>
> 
> diff --git a/viostor/virtio_ring.c b/viostor/virtio_ring.c index
> d099bb8..2911cef 100644
> --- a/viostor/virtio_ring.c
> +++ b/viostor/virtio_ring.c
> @@ -237,6 +237,8 @@ vring_get_buf(
>           return NULL;
>       }
> 
> +    rmb();
> +
>       i = vq->vring.used->ring[vq->last_used_idx%vq->vring.num].id;
>       *len = vq->vring.used->ring[vq->last_used_idx%vq->vring.num].len;
> 


      reply	other threads:[~2009-11-01 13:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-01 10:41 [PATCH] viostor driver.Add memory barrier - synch with fix for Linux guests by Michael S. Tsirkin <mst@redhat.com> Vadim Rozenfeld
2009-11-01 13:29 ` Yan Vugenfirer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='013401ca5af7$4bcc69b0$e3653d10$@com' \
    --to=yvugenfi@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=vrozenfe@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox