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-3.3-testing] 32on64: increase size of compat argume

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-3.3-testing] 32on64: increase size of compat argument translation area to 2 pages.
From: "Xen patchbot-3.3-testing" <patchbot-3.3-testing@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 06 Jul 2009 05:50:15 -0700
Delivery-date: Mon, 06 Jul 2009 05:51:09 -0700
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.fraser@xxxxxxxxxx>
# Date 1246884147 -3600
# Node ID c307e7218d95a10c3d3bb98231b7f6f2e5d645dc
# Parent  d3e660723f8a0ff96fc99dd4ff4a3595de9d1d13
32on64: increase size of compat argument translation area to 2 pages.

The existing single page is not quite large enough to translate a
XENMEM_exchange hypercall with order=3D9. Since Linux uses
MAX_CONTIG_ORDER of 9 this seems like a reasonable upper bound to
support.

Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
xen-unstable changeset:   19898:100b05eed0d5
xen-unstable date:        Mon Jul 06 11:55:17 2009 +0100
---
 xen/include/asm-x86/x86_64/uaccess.h |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r d3e660723f8a -r c307e7218d95 xen/include/asm-x86/x86_64/uaccess.h
--- a/xen/include/asm-x86/x86_64/uaccess.h      Mon Jul 06 13:42:05 2009 +0100
+++ b/xen/include/asm-x86/x86_64/uaccess.h      Mon Jul 06 13:42:27 2009 +0100
@@ -2,7 +2,7 @@
 #define __X86_64_UACCESS_H
 
 #define COMPAT_ARG_XLAT_VIRT_BASE this_cpu(compat_arg_xlat)
-#define COMPAT_ARG_XLAT_SIZE      PAGE_SIZE
+#define COMPAT_ARG_XLAT_SIZE      (2*PAGE_SIZE)
 DECLARE_PER_CPU(void *, compat_arg_xlat);
 int setup_compat_arg_xlat(unsigned int cpu, int node);
 #define is_compat_arg_xlat_range(addr, size) ({                               \

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-3.3-testing] 32on64: increase size of compat argument translation area to 2 pages., Xen patchbot-3.3-testing <=