diff options
author | Richard Braun <rbraun@sceen.net> | 2016-12-25 21:54:47 +0100 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2016-12-25 21:54:47 +0100 |
commit | a926bb3a5bbd9cd5db6f1435d32312a5499ed62d (patch) | |
tree | b99231245bceea28a1523586992b0ab5408de61f | |
parent | 49547a4a10aa594c669dbf4199e2609f84e63a3c (diff) | |
download | gnumach-a926bb3a5bbd9cd5db6f1435d32312a5499ed62d.tar.gz gnumach-a926bb3a5bbd9cd5db6f1435d32312a5499ed62d.tar.bz2 gnumach-a926bb3a5bbd9cd5db6f1435d32312a5499ed62d.zip |
Increase the size of the kernel map
Sometimes, in particular during IO spikes, the slab allocator needs
more virtual memory than is currently available. The new size should
also be fine for the Xen version.
* i386/i386/vm_param.h (VM_KERNEL_MAP_SIZE): Increase value.
-rw-r--r-- | i386/i386/vm_param.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/i386/i386/vm_param.h b/i386/i386/vm_param.h index 2635c2cd..7051b7af 100644 --- a/i386/i386/vm_param.h +++ b/i386/i386/vm_param.h @@ -56,12 +56,11 @@ #define VM_MAX_KERNEL_ADDRESS (LINEAR_MAX_KERNEL_ADDRESS - LINEAR_MIN_KERNEL_ADDRESS + VM_MIN_KERNEL_ADDRESS) #endif /* MACH_PV_PAGETABLES */ -/* Reserve mapping room for kmem. */ -#ifdef MACH_XEN -#define VM_KERNEL_MAP_SIZE (128 * 1024 * 1024) -#else -#define VM_KERNEL_MAP_SIZE (96 * 1024 * 1024) -#endif +/* + * Reserve mapping room for the kernel map, which includes + * the device I/O map and the IPC map. + */ +#define VM_KERNEL_MAP_SIZE (152 * 1024 * 1024) /* The kernel virtual address space is actually located at high linear addresses. |