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] [xen-unstable] xen: Last minute rename of RCU domain get

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] xen: Last minute rename of RCU domain get/put functions:
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 01 Mar 2007 08:10:12 -0800
Delivery-date: Thu, 01 Mar 2007 08:10:18 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/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 kfraser@xxxxxxxxxxxxxxxxxxxxx
# Date 1172745172 0
# Node ID a5b5279d2ba37fef5cb85adb15f83d077a5a6747
# Parent  44048a3f7caa5098368286f146cfe9a2089e9ac9
xen: Last minute rename of RCU domain get/put functions:
 find_domain_rcu_lock -> rcu_lock_domain_by_id
 domain_rcu_unlock    -> rcu_unlock_domain
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
 xen/common/domain.c     |    2 +-
 xen/include/xen/sched.h |   14 +++++++-------
 2 files changed, 8 insertions(+), 8 deletions(-)

diff -r 44048a3f7caa -r a5b5279d2ba3 xen/common/domain.c
--- a/xen/common/domain.c       Thu Mar 01 10:24:19 2007 +0000
+++ b/xen/common/domain.c       Thu Mar 01 10:32:52 2007 +0000
@@ -236,7 +236,7 @@ struct domain *get_domain_by_id(domid_t 
 }
 
 
-struct domain *find_domain_rcu_lock(domid_t dom)
+struct domain *rcu_lock_domain_by_id(domid_t dom)
 {
     struct domain *d;
 
diff -r 44048a3f7caa -r a5b5279d2ba3 xen/include/xen/sched.h
--- a/xen/include/xen/sched.h   Thu Mar 01 10:24:19 2007 +0000
+++ b/xen/include/xen/sched.h   Thu Mar 01 10:32:52 2007 +0000
@@ -270,16 +270,16 @@ int construct_dom0(
     char *cmdline);
 
 /*
- * find_domain_rcu_lock() is more efficient than get_domain_by_id().
+ * rcu_lock_domain_by_id() is more efficient than get_domain_by_id().
  * This is the preferred function if the returned domain reference
  * is short lived,  but it cannot be used if the domain reference needs 
  * to be kept beyond the current scope (e.g., across a softirq).
- * The returned domain reference must be discarded using domain_rcu_unlock().
- */
-struct domain *find_domain_rcu_lock(domid_t dom);
-
-/* Finish a RCU critical region started by find_domain_rcu_lock(). */
-static inline void domain_rcu_unlock(struct domain *d)
+ * The returned domain reference must be discarded using rcu_unlock_domain().
+ */
+struct domain *rcu_lock_domain_by_id(domid_t dom);
+
+/* Finish a RCU critical region started by rcu_lock_domain_by_id(). */
+static inline void rcu_unlock_domain(struct domain *d)
 {
     rcu_read_unlock(&domlist_read_lock);
 }

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] xen: Last minute rename of RCU domain get/put functions:, Xen patchbot-unstable <=