summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--i386/i386/vm_param.h4
-rw-r--r--kern/slab.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/i386/i386/vm_param.h b/i386/i386/vm_param.h
index ffd91d6..6292ca2 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
diff --git a/kern/slab.c b/kern/slab.c
index 4f32c8e..8bc1b06 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.