git: kernel - Add negative caching to cache_findmount()

Matthew Dillon dillon at
Fri Feb 22 10:19:15 PST 2013

commit 9c105d5b68ecf41d798c8ec649ce75a89f051572
Author: Matthew Dillon <dillon at>
Date:   Fri Feb 22 10:09:58 2013 -0800

    kernel - Add negative caching to cache_findmount()
    * Add negative caching to cache_findmount().  It turns out that there
      are quite a few cases, particularly during poudriere, so this is
      needed to avoid dropping down into the slow mountlist scan code.
    * Removes remaining bottlenecks in mount-point crossings during path
      lookups.  The mountlist_token is no longer colliding in critical

Summary of changes:
 sys/kern/vfs_cache.c | 74 +++++++++++++++++++++++++++++++++++++++++++++++-----
 1 file changed, 67 insertions(+), 7 deletions(-)

DragonFly BSD source repository

More information about the Commits mailing list