diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2009-06-01 14:55:32 +0100 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2009-06-01 14:55:32 +0100 |
commit | bdcdbb25b4b8982de3cc4bec302b202f0e6d654d (patch) | |
tree | bf5370492c54271779fb8112d09bea0798a64430 /xen/include/xen/grant_table.h | |
parent | 16ae66bb59b4b3b0aeb364f84d0ba9cc1fd259c7 (diff) | |
download | xen-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.h | 2 |
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; }; |