From d7db1f01832014e08e2dcf589abab1316d5a45db Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sun, 16 Oct 2011 18:35:04 +0200 Subject: Increase kmem area for the Xen case. Kernel tacks are 4 pages in the Xen case, so we need more kmem space. * i386/i386/vm_param.h (VM_KERNEL_MAP_SIZE) [MACH_XEN]: Increase to 224MiB. --- i386/i386/vm_param.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/i386/i386/vm_param.h b/i386/i386/vm_param.h index b515a9ef..41cdbc3b 100644 --- a/i386/i386/vm_param.h +++ b/i386/i386/vm_param.h @@ -45,8 +45,12 @@ #define VM_MAX_KERNEL_ADDRESS (LINEAR_MAX_KERNEL_ADDRESS - LINEAR_MIN_KERNEL_ADDRESS + VM_MIN_KERNEL_ADDRESS) #endif /* MACH_XEN */ -/* Reserve mapping room for kmem_suballoc calls. */ +/* Reserve mapping room for kmem. */ +#ifdef MACH_XEN +#define VM_KERNEL_MAP_SIZE (224 * 1024 * 1024) +#else #define VM_KERNEL_MAP_SIZE (192 * 1024 * 1024) +#endif /* The kernel virtual address space is actually located at high linear addresses. -- cgit v1.2.3