WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH][XEN] xenstore: make producer/consumer volatile

To: Christoph Egger <Christoph.Egger@xxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH][XEN] xenstore: make producer/consumer volatile
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Mon, 28 Jul 2008 11:41:44 +0100
Cc:
Delivery-date: Mon, 28 Jul 2008 03:42:11 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <200807281121.03259.Christoph.Egger@xxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acjwnob4xcwUqlyREd2NDAAX8io7RQ==
Thread-topic: [Xen-devel] [PATCH][XEN] xenstore: make producer/consumer volatile
User-agent: Microsoft-Entourage/11.4.0.080122
On 28/7/08 10:21, "Christoph Egger" <Christoph.Egger@xxxxxxx> wrote:

> Hi!
> 
> Don't allow the compiler to play around with producer/consumer shared across
> domains.
> 
> Keir: Please apply this also to Xen 3.2-testing.
> 
> Signed-off-by: Christoph Egger <Christoph.Egger@xxxxxxx>

We don't use volatile. If extra ordering constraints are required then the
access code should be amended to include extra barriers.

 -- Keir



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>