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-changelog

[Xen-changelog] [linux-2.6.18-xen] gntdev: Do not take mutexes in initia

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [linux-2.6.18-xen] gntdev: Do not take mutexes in initialiser function.
From: "Xen patchbot-linux-2.6.18-xen" <patchbot-linux-2.6.18-xen@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 11 Jul 2008 07:50:22 -0700
Delivery-date: Fri, 11 Jul 2008 07:50:44 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1215786873 -3600
# Node ID 1bd3dbfdaf0f96bd8fe572d9a262983d9490e3b9
# Parent  29228a5f9fea2cf5b30645c4bb23852b1fb3802f
gntdev: Do not take mutexes in initialiser function.
From: Derek Murray <derek.murray@xxxxxxxxx>
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 drivers/xen/gntdev/gntdev.c |    3 ---
 1 files changed, 3 deletions(-)

diff -r 29228a5f9fea -r 1bd3dbfdaf0f drivers/xen/gntdev/gntdev.c
--- a/drivers/xen/gntdev/gntdev.c       Wed Jul 09 10:45:09 2008 +0100
+++ b/drivers/xen/gntdev/gntdev.c       Fri Jul 11 15:34:33 2008 +0100
@@ -374,9 +374,6 @@ static int init_private_data(gntdev_file
        priv->grants_size = max_grants;
        priv->free_list_size = max_grants;
        priv->next_fit_index = 0;
-
-       up_write(&priv->grants_sem);
-       up_write(&priv->free_list_sem);
 
        return 0;
 

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [linux-2.6.18-xen] gntdev: Do not take mutexes in initialiser function., Xen patchbot-linux-2.6.18-xen <=