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. --- vm/vm_map.h | 2 +- vm/vm_object.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'vm') diff --git a/vm/vm_map.h b/vm/vm_map.h index 1b8423e..567fe93 100644 --- a/vm/vm_map.h +++ b/vm/vm_map.h @@ -226,7 +226,7 @@ typedef struct vm_map_version { * (returned) and an abort flag (abort if TRUE). */ -#define VM_MAP_COPY_PAGE_LIST_MAX 8 +#define VM_MAP_COPY_PAGE_LIST_MAX 64 typedef struct vm_map_copy { int type; diff --git a/vm/vm_object.c b/vm/vm_object.c index 88e94b7..8da7a88 100644 --- a/vm/vm_object.c +++ b/vm/vm_object.c @@ -179,7 +179,7 @@ vm_object_t kernel_object; */ queue_head_t vm_object_cached_list; int vm_object_cached_count; -int vm_object_cached_max = 200; /* may be patched*/ +int vm_object_cached_max = 4000; /* may be patched*/ decl_simple_lock_data(,vm_object_cached_lock_data) -- cgit v1.2.3