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] x86/64: Fix PAE-on-64 mmuext_op() preempt

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] x86/64: Fix PAE-on-64 mmuext_op() preemption.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 21 Feb 2008 07:10:56 -0800
Delivery-date: Fri, 22 Feb 2008 07:42:59 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/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 1203531483 0
# Node ID ea1dc85d7122c6f0c11afbe4500c191b6896056f
# Parent  28dcae176191b7b5aadc2bed44e252f0f5b5fb71
x86/64: Fix PAE-on-64 mmuext_op() preemption.
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 xen/arch/x86/x86_64/compat/mm.c |   12 +-----------
 1 files changed, 1 insertion(+), 11 deletions(-)

diff -r 28dcae176191 -r ea1dc85d7122 xen/arch/x86/x86_64/compat/mm.c
--- a/xen/arch/x86/x86_64/compat/mm.c   Wed Feb 20 18:00:28 2008 +0000
+++ b/xen/arch/x86/x86_64/compat/mm.c   Wed Feb 20 18:18:03 2008 +0000
@@ -194,18 +194,8 @@ int compat_mmuext_op(XEN_GUEST_HANDLE(mm
     for ( ; count; count -= i )
     {
         mmuext_op_t *nat_op = nat_ops.p;
-        unsigned int limit;
+        unsigned int limit = COMPAT_ARG_XLAT_SIZE / sizeof(*nat_op);
         int err;
-
-        if ( hypercall_preempt_check() )
-        {
-            rc = hypercall_create_continuation(
-                __HYPERVISOR_mmuext_op, "hihi",
-                cmp_uops, count | MMU_UPDATE_PREEMPTED, pdone, foreigndom);
-            break;
-        }
-
-        limit = COMPAT_ARG_XLAT_SIZE / sizeof(*nat_op);
 
         for ( i = 0; i < min(limit, count); ++i )
         {

_______________________________________________
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] x86/64: Fix PAE-on-64 mmuext_op() preemption., Xen patchbot-unstable <=