summaryrefslogtreecommitdiff
path: root/i386
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2016-01-13 23:13:27 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2016-01-13 23:15:04 +0100
commit2ed58a86ab2b0a2b1d7701ef1f0ccb117ca87dcf (patch)
treed9cfaf4d3ab0115af3bde0220d7b075b65bc5d70 /i386
parent37f873e94db9966c4e852a868916db2682f37f78 (diff)
Increase kernel map size
To avoid running out of memory due to the increased consumption by radix trees which replaced arrays. * kern/slab.c (KMEM_MAP_SIZE): Bump from 96MiB to 128MiB. * i386/i386/vm_param.h (VM_KERNEL_MAP_SIZE): Add 32MiB accordingly.
Diffstat (limited to 'i386')
-rw-r--r--i386/i386/vm_param.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/i386/i386/vm_param.h b/i386/i386/vm_param.h
index ffd91d65..6292ca25 100644
--- a/i386/i386/vm_param.h
+++ b/i386/i386/vm_param.h
@@ -56,9 +56,9 @@
/* Reserve mapping room for kmem. */
#ifdef MACH_XEN
-#define VM_KERNEL_MAP_SIZE (224 * 1024 * 1024)
+#define VM_KERNEL_MAP_SIZE (256 * 1024 * 1024)
#else
-#define VM_KERNEL_MAP_SIZE (192 * 1024 * 1024)
+#define VM_KERNEL_MAP_SIZE (224 * 1024 * 1024)
#endif
/* The kernel virtual address space is actually located