git: kernel - Increase ncmount_cache array

Matthew Dillon dillon at
Mon Oct 16 11:30:37 PDT 2017

commit a458ee25215ec8589dc19895eaade47ba8e97978
Author: Matthew Dillon <dillon at>
Date:   Fri Oct 13 23:26:56 2017 -0700

    kernel - Increase ncmount_cache array
    * Increase the ncmount_cache hash from 1009 to 16301.  The
      slow-path (which can contend heavily on the mountlist_token)
      was getting hit too often in the synth test due to the
      number of mounts synth maintains.
    * Improve the hash function to reduce chances of collisions.

Summary of changes:
 sys/kern/vfs_cache.c | 17 +++++++++++------
 1 file changed, 11 insertions(+), 6 deletions(-)

DragonFly BSD source repository

More information about the Commits mailing list