git: DragonFly_RELEASE_5_8 kernel - Improve cache_fullpath() performance

Matthew Dillon dillon at crater.dragonflybsd.org
Fri Feb 28 22:12:40 PST 2020


commit 3e3e37ead5f5541ecc6e5305287f44994bf55616
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Fri Feb 28 22:10:38 2020 -0800

    kernel - Improve cache_fullpath() performance
    
    * realpath() now uses cache_fullpath() in the kernel.  This procedure
      was not optimized for performance.
    
    * Fix cache_fullpath() to use a shared ncp lock instead of an exclusive
      one.
    
    * Significantly improves concurrent program executions that use
      realpath() a lot, such as high make -j ops or concurrent makes.
    
    * Change not yet in master but will be soon.

Summary of changes:
 sys/kern/vfs_cache.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/3e3e37ead5f5541ecc6e5305287f44994bf55616


-- 
DragonFly BSD source repository


More information about the Commits mailing list