diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2009-10-14 10:15:50 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2009-10-14 10:15:50 +0200 |
commit | fa6c711d2e8f696457ee1a12e49f413b98a175db (patch) | |
tree | 9e68a8b8f1db891d78f8b88e74161f3c6a0a7f49 /vm | |
parent | a72523c6570b17311babc105edc7105bc0dce4aa (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 'vm')
-rw-r--r-- | vm/vm_map.h | 2 | ||||
-rw-r--r-- | vm/vm_object.c | 2 |
2 files changed, 2 insertions, 2 deletions
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) |