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

[Xen-devel] [PATCH] pv-on-hvm: Use wmb instead of rmb

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] pv-on-hvm: Use wmb instead of rmb
From: Kouya Shimura <kouya@xxxxxxxxxxxxxx>
Date: Thu, 29 May 2008 17:00:35 +0900
Delivery-date: Thu, 29 May 2008 01:01:09 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
This is the same fix as 
http://xenbits.xensource.com/linux-2.6.18-xen.hg?rev/77db69c38249

Signed-off-by: Kouya Shimura <kouya@xxxxxxxxxxxxxx>

diff -r f681c4de91fc unmodified_drivers/linux-2.6/platform-pci/evtchn.c
--- a/unmodified_drivers/linux-2.6/platform-pci/evtchn.c        Wed May 28 
16:14:10 2008 +0100
+++ b/unmodified_drivers/linux-2.6/platform-pci/evtchn.c        Thu May 29 
16:37:23 2008 +0900
@@ -284,7 +284,7 @@
 
 #ifndef CONFIG_X86 /* No need for a barrier -- XCHG is a barrier on x86. */
        /* Clear master flag /before/ clearing selector flag. */
-       rmb();
+       wmb();
 #endif
        l1 = xchg(&v->evtchn_pending_sel, 0);
 
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] pv-on-hvm: Use wmb instead of rmb, Kouya Shimura <=