|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-3.4-testing] 32on64: increase size of compat argume
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1246883246 -3600
# Node ID bc4e848081bcf8759ee5f496f068329be7eb1561
# Parent de67025656ac687eab9c5e15062b64de8fe9ed6f
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=9. 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 de67025656ac -r bc4e848081bc xen/include/asm-x86/x86_64/uaccess.h
--- a/xen/include/asm-x86/x86_64/uaccess.h Mon Jul 06 13:27:02 2009 +0100
+++ b/xen/include/asm-x86/x86_64/uaccess.h Mon Jul 06 13:27:26 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.4-testing] 32on64: increase size of compat argument translation area to 2 pages.,
Xen patchbot-3.4-testing <=
|
|
|
|
|