[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-4.0-testing] Revert 21334:993458f6c5a0 (xen-unstable 22071:c5aed2e049bc).



# HG changeset patch
# User Keir Fraser <keir@xxxxxxx>
# Date 1297072879 0
# Node ID a8bc981ce9c7bb1c8e227439b2fbbf3573f51771
# Parent  75ee90c964687695434a17f6fc7bf57188125cb9
Revert 21334:993458f6c5a0 (xen-unstable 22071:c5aed2e049bc).

Signed-off-by: Keir Fraser <keir@xxxxxxx>
---
 xen/arch/x86/mm/hap/p2m-ept.c |    6 ------
 1 files changed, 6 deletions(-)

diff -r 75ee90c96468 -r a8bc981ce9c7 xen/arch/x86/mm/hap/p2m-ept.c
--- a/xen/arch/x86/mm/hap/p2m-ept.c     Sun Feb 06 17:40:19 2011 +0000
+++ b/xen/arch/x86/mm/hap/p2m-ept.c     Mon Feb 07 10:01:19 2011 +0000
@@ -395,10 +395,6 @@ static mfn_t ept_get_entry(struct domain
     int i;
     int ret = 0;
     mfn_t mfn = _mfn(INVALID_MFN);
-    int do_locking = !p2m_locked_by_me(d->arch.p2m);
-
-    if ( do_locking )
-        p2m_lock(d->arch.p2m);
 
     *t = p2m_mmio_dm;
 
@@ -476,8 +472,6 @@ static mfn_t ept_get_entry(struct domain
     }
 
 out:
-    if ( do_locking )
-        p2m_unlock(d->arch.p2m);
     unmap_domain_page(table);
     return mfn;
 }

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.