diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2011-10-16 18:35:04 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2011-10-16 18:35:04 +0200 |
commit | d7db1f01832014e08e2dcf589abab1316d5a45db (patch) | |
tree | 099b4c68d9d58ef6a86ebe103257c8cb75195cfd /i386 | |
parent | 665bf60178e71eef11356ed61b320f852094cc4d (diff) |
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.
Diffstat (limited to 'i386')
-rw-r--r-- | i386/i386/vm_param.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/i386/i386/vm_param.h b/i386/i386/vm_param.h index b515a9e..41cdbc3 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. |