summaryrefslogtreecommitdiff
path: root/kern
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2009-10-14 10:15:50 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2009-10-14 10:15:50 +0200
commitfa6c711d2e8f696457ee1a12e49f413b98a175db (patch)
tree9e68a8b8f1db891d78f8b88e74161f3c6a0a7f49 /kern
parenta72523c6570b17311babc105edc7105bc0dce4aa (diff)
Update constants to nowadays standards
kern/zalloc.c (zone_map_size): Increase to 64MiB. i386/i386at/model_dep.c (mem_size_init): Reduce cap to 1/6 of memory space to save room for zalloc area. linux/src/drivers/block/ide.h (INITIAL_MULT_COUNT): Set to 16. vm/vm_map.h (VM_MAP_COPY_PAGE_LIST_MAX): Set to 64. vm/vm_object.c (vm_object_cached_max): Set to 4000.
Diffstat (limited to 'kern')
-rw-r--r--kern/zalloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kern/zalloc.c b/kern/zalloc.c
index f2904e4..a95c7f6 100644
--- a/kern/zalloc.c
+++ b/kern/zalloc.c
@@ -105,7 +105,7 @@ zone_t zone_zone; /* this is the zone containing other zones */
boolean_t zone_ignore_overflow = TRUE;
vm_map_t zone_map = VM_MAP_NULL;
-vm_size_t zone_map_size = 12 * 1024 * 1024;
+vm_size_t zone_map_size = 64 * 1024 * 1024;
/*
* The VM system gives us an initial chunk of memory.