From fa6c711d2e8f696457ee1a12e49f413b98a175db Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Wed, 14 Oct 2009 10:15:50 +0200 Subject: 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. --- kern/zalloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kern') 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. -- cgit v1.2.3