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-4.0-testing] Revert 21334:993458f6c5a0 (xen-unstabl

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-4.0-testing] Revert 21334:993458f6c5a0 (xen-unstable 22071:c5aed2e049bc).
From: "Xen patchbot-4.0-testing" <patchbot@xxxxxxx>
Date: Wed, 09 Feb 2011 03:45:17 -0800
Delivery-date: Wed, 09 Feb 2011 03:45:51 -0800
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@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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-4.0-testing] Revert 21334:993458f6c5a0 (xen-unstable 22071:c5aed2e049bc)., Xen patchbot-4.0-testing <=