git: kernel - Improve nlookup() performance w/absolute paths

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Mar 2 17:29:12 PST 2020


commit 0324e06eb9067d93d7927be0a2d09381fd93d298
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Fri Feb 28 22:23:53 2020 -0800

    kernel - Improve nlookup() performance w/absolute paths
    
    * Improve nlookup() performance when handed an absolute path by
      initializing the base ncp to the rootnch instead of the current
      directory nch when an absolute path is detected.

Summary of changes:
 sys/kern/vfs_nlookup.c | 100 ++++++++++++++++++++++++++++---------------------
 sys/sys/nlookup.h      |   1 +
 2 files changed, 59 insertions(+), 42 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0324e06eb9067d93d7927be0a2d09381fd93d298


-- 
DragonFly BSD source repository



More information about the Commits mailing list