Page MenuHomeFreeBSD

D50120.diff
No OneTemporary

D50120.diff

diff --git a/sys/kern/vfs_cache.c b/sys/kern/vfs_cache.c
--- a/sys/kern/vfs_cache.c
+++ b/sys/kern/vfs_cache.c
@@ -2772,7 +2772,7 @@
ncsize = desiredvnodes * ncsizefactor;
cache_recalc_neg_min();
- nchashtbl = nchinittbl(desiredvnodes * 2, &nchash);
+ nchashtbl = nchinittbl(ncsize, &nchash);
ncbuckethash = cache_roundup_2(mp_ncpus * mp_ncpus) - 1;
if (ncbuckethash < 7) /* arbitrarily chosen to avoid having one lock */
ncbuckethash = 7;

File Metadata

Mime Type
text/plain
Expires
Sun, Jan 25, 8:43 PM (5 h, 32 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27967619
Default Alt Text
D50120.diff (454 B)

Event Timeline