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

[Xen-changelog] [xen-unstable] x86/64: Fix PAE-on-64 mmuext_op() preemption.



# 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


 


Rackspace

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