git: kernel - Optimize nlookup() a bit more
Matthew Dillon
dillon at crater.dragonflybsd.org
Mon Dec 16 23:06:46 PST 2019
commit a11f15a48aada0fe09a5dc61ef50a0d8f98169e9
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Mon Dec 16 23:03:52 2019 -0800
kernel - Optimize nlookup() a bit more
* Optimize the fast-path for nlookup() for non-modifying
operations (i.e. open() without O_CREAT, stat(), etc). In
such cases special directory modes need not be considered
as long as world-execute permissions are present.
Suggested-by: mjg
Summary of changes:
sys/kern/vfs_nlookup.c | 2 +-
sys/sys/namecache.h | 2 +-
sys/sys/nlookup.h | 3 +++
3 files changed, 5 insertions(+), 2 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/a11f15a48aada0fe09a5dc61ef50a0d8f98169e9
--
DragonFly BSD source repository
More information about the Commits
mailing list