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

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



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1203606867 0
# Node ID a5f02f5de9a8e0861df25a8041b40c77bf6c5aaf
# Parent  9f39827ea86ad15f21a07fe75ac3859d16f44b4c
x86/64: Fix PAE-on-64 mmuext_op() preemption.
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
xen-unstable changeset:   17096:ea1dc85d7122c6f0c11afbe4500c191b6896056f
xen-unstable date:        Wed Feb 20 18:18:03 2008 +0000
---
 xen/arch/x86/x86_64/compat/mm.c |   12 +-----------
 1 files changed, 1 insertion(+), 11 deletions(-)

diff -r 9f39827ea86a -r a5f02f5de9a8 xen/arch/x86/x86_64/compat/mm.c
--- a/xen/arch/x86/x86_64/compat/mm.c   Thu Feb 21 15:14:06 2008 +0000
+++ b/xen/arch/x86/x86_64/compat/mm.c   Thu Feb 21 15:14:27 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®.