summaryrefslogtreecommitdiff
path: root/kern
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 /kern
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 'kern')
-rw-r--r--kern/slab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kern/slab.c b/kern/slab.c
index 4f32c8e5..8bc1b06b 100644
--- a/kern/slab.c
+++ b/kern/slab.c
@@ -165,7 +165,7 @@
/*
* Size of the VM submap from which default backend functions allocate.
*/
-#define KMEM_MAP_SIZE (96 * 1024 * 1024)
+#define KMEM_MAP_SIZE (128 * 1024 * 1024)
/*
* Shift for the first kalloc cache size.