git: kernel - Improve cache_fullpath(), plus cleanup
Matthew Dillon
dillon at crater.dragonflybsd.org
Mon Mar 2 17:29:12 PST 2020
commit 9460074f09093ba71169632ae8b7bdf3ba1c7ce9
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Fri Feb 28 22:27:39 2020 -0800
kernel - Improve cache_fullpath(), plus cleanup
* Improve cache_fullpath(). It can use a shared lock rather than an
exclusive lock, significantly improving concurrency. Important now
since realpath() indirectly uses this function.
* Code cleanup. Remove unused vfscache_rollup_all()
Summary of changes:
sys/kern/vfs_cache.c | 46 ++++++++++++++++++++++------------------------
1 file changed, 22 insertions(+), 24 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/9460074f09093ba71169632ae8b7bdf3ba1c7ce9
--
DragonFly BSD source repository
More information about the Commits
mailing list