Subject: CVS commit: syssrc/sys/kern
To: None <source-changes@netbsd.org>
From: Matt Thomas <matt@netbsd.org>
List: source-changes
Date: 07/18/2001 03:51:55
Module Name: syssrc
Committed By: matt
Date: Wed Jul 18 00:51:55 UTC 2001
Modified Files:
syssrc/sys/kern: init_main.c
Log Message:
When we auto size the vnode cache, make sure we do it *before* we
init vfs so it can the size into account when creating its hash lists.
This means that for a 2GB system, it'll have a default of 65536 buckets
instead of 2048 and when you have 200,000+ vnodes that makes a significant
difference.
To generate a diff of this commit:
cvs rdiff -r1.193 -r1.194 syssrc/sys/kern/init_main.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.