diff options
author | dg <dg@FreeBSD.org> | 1996-03-29 06:28:48 +0000 |
---|---|---|
committer | dg <dg@FreeBSD.org> | 1996-03-29 06:28:48 +0000 |
commit | 4d625bffc5619d5b193f538fd270e83d908be75e (patch) | |
tree | 222517bc58a58d1277d89c57972345013df2360a /sys/vm/vm_object.c | |
parent | 6bebd369874f29d266d54615313f7b7a70cbc63b (diff) | |
download | FreeBSD-src-4d625bffc5619d5b193f538fd270e83d908be75e.zip FreeBSD-src-4d625bffc5619d5b193f538fd270e83d908be75e.tar.gz |
Revert to previous calculation of vm_object_cache_max: it simply works
better in most real-world cases.
Diffstat (limited to 'sys/vm/vm_object.c')
-rw-r--r-- | sys/vm/vm_object.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/vm/vm_object.c b/sys/vm/vm_object.c index 9512f89..e7c19ce 100644 --- a/sys/vm/vm_object.c +++ b/sys/vm/vm_object.c @@ -61,7 +61,7 @@ * any improvements or extensions that they make and grant Carnegie the * rights to redistribute these changes. * - * $Id: vm_object.c,v 1.65 1996/03/11 06:11:41 hsu Exp $ + * $Id: vm_object.c,v 1.66 1996/03/28 04:53:26 dyson Exp $ */ /* @@ -190,7 +190,7 @@ vm_object_init() vm_object_cache_max = 84; if (cnt.v_page_count > 1000) - vm_object_cache_max += (cnt.v_page_count - 1000) / 3; + vm_object_cache_max += (cnt.v_page_count - 1000) / 4; kernel_object = &kernel_object_store; _vm_object_allocate(OBJT_DEFAULT, OFF_TO_IDX(VM_MAX_KERNEL_ADDRESS - VM_MIN_KERNEL_ADDRESS), |