aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/xen/grant_table.h
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2009-06-01 14:55:32 +0100
committerKeir Fraser <keir.fraser@citrix.com>2009-06-01 14:55:32 +0100
commitbdcdbb25b4b8982de3cc4bec302b202f0e6d654d (patch)
treebf5370492c54271779fb8112d09bea0798a64430 /xen/include/xen/grant_table.h
parent16ae66bb59b4b3b0aeb364f84d0ba9cc1fd259c7 (diff)
downloadxen-bdcdbb25b4b8982de3cc4bec302b202f0e6d654d.tar.gz
xen-bdcdbb25b4b8982de3cc4bec302b202f0e6d654d.tar.bz2
xen-bdcdbb25b4b8982de3cc4bec302b202f0e6d654d.zip
Revert 19658:28a197617286 "Fix up the synchronisation around grant
table map track handles". There is no race since the hypercall takes the domain-lock. Furthermore removing locking from get_maptrack_handle() races gnttab_setup_table(). Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Diffstat (limited to 'xen/include/xen/grant_table.h')
-rw-r--r--xen/include/xen/grant_table.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/xen/include/xen/grant_table.h b/xen/include/xen/grant_table.h
index 1ab59434ab..096af9bb4c 100644
--- a/xen/include/xen/grant_table.h
+++ b/xen/include/xen/grant_table.h
@@ -91,8 +91,6 @@ struct grant_table {
struct grant_mapping **maptrack;
unsigned int maptrack_head;
unsigned int maptrack_limit;
- /* Lock protecting maptrack-related fields. */
- spinlock_t maptrack_lock;
/* Lock protecting updates to active and shared grant tables. */
spinlock_t lock;
};