kernel - Improve nlookup() performance w/absolute paths
authorMatthew Dillon <dillon@apollo.backplane.com>
Sat, 29 Feb 2020 06:23:53 +0000 (22:23 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sat, 29 Feb 2020 21:48:28 +0000 (13:48 -0800)
commit0324e06eb9067d93d7927be0a2d09381fd93d298
tree05ffdf97bfd57e6eb57b61c2ab7511c31b62e980
parente882b3f61bd9bab7c9bc10f8d73ebb58ad7b4b5a
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.
sys/kern/vfs_nlookup.c
sys/sys/nlookup.h