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] gnttab: Remove unused per-domain map_coun

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] gnttab: Remove unused per-domain map_count field
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 20 May 2009 00:35:17 -0700
Delivery-date: Wed, 20 May 2009 00:35:29 -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 1242772232 -3600
# Node ID d8d0f32090cb04ef6f81db8bc4ccdb9fa6113bf9
# Parent  6e286d08c4a934491df37a00084bb78ce8f4c000
gnttab: Remove unused per-domain map_count field

Signed-off-by: Steven Smith <steven.smith@xxxxxxxxxxxxx>
---
 xen/common/grant_table.c      |    2 --
 xen/include/xen/grant_table.h |    1 -
 2 files changed, 3 deletions(-)

diff -r 6e286d08c4a9 -r d8d0f32090cb xen/common/grant_table.c
--- a/xen/common/grant_table.c  Tue May 19 23:28:25 2009 +0100
+++ b/xen/common/grant_table.c  Tue May 19 23:30:32 2009 +0100
@@ -119,7 +119,6 @@ __get_maptrack_handle(
     if ( unlikely((h = t->maptrack_head) == (t->maptrack_limit - 1)) )
         return -1;
     t->maptrack_head = maptrack_entry(t, h).ref;
-    t->map_count++;
     return h;
 }
 
@@ -129,7 +128,6 @@ put_maptrack_handle(
 {
     maptrack_entry(t, handle).ref = t->maptrack_head;
     t->maptrack_head = handle;
-    t->map_count--;
 }
 
 static inline int
diff -r 6e286d08c4a9 -r d8d0f32090cb xen/include/xen/grant_table.h
--- a/xen/include/xen/grant_table.h     Tue May 19 23:28:25 2009 +0100
+++ b/xen/include/xen/grant_table.h     Tue May 19 23:30:32 2009 +0100
@@ -91,7 +91,6 @@ struct grant_table {
     struct grant_mapping **maptrack;
     unsigned int          maptrack_head;
     unsigned int          maptrack_limit;
-    unsigned int          map_count;
     /* Lock protecting updates to active and shared grant tables. */
     spinlock_t            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] gnttab: Remove unused per-domain map_count field, Xen patchbot-unstable <=