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] xen-pciback patches for 3.2 (s/spinlock/mutex/)

To: jbeulich@xxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] xen-pciback patches for 3.2 (s/spinlock/mutex/)
From: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
Date: Wed, 21 Sep 2011 18:42:44 -0400
Cc:
Delivery-date: Wed, 21 Sep 2011 15:45:28 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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
402c5e1 xen/pciback: miscellaneous adjustments
04df355 xen/pciback: use mutex rather than spinlock in passthrough backend
5fa9991 xen/pciback: use resource_size()

which I've in the stable/drivers.bugfixes on oss.oracle.com
(git://oss.oracle.com/git/kwilk/xen.git) I am proposing these
two patches.

The easier of them: 
  xen/pciback: use mutex rather than spinlock in vpci backend

converts the vpci backend to use the same mechanism as the passthrough backend.

 xen/pciback: Use mutexes when working with Xenbus state transitions.

converts the spinlocks that are guarding the Xenbus state changes to be
mutexs and moves them out to be in similar locations as in the 2.6.18 tree.


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

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