]> git.baikalelectronics.ru Git - kernel.git/commit
NFSD: Streamline the rare "found" case
authorChuck Lever <chuck.lever@oracle.com>
Tue, 28 Sep 2021 15:40:59 +0000 (11:40 -0400)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 28 Feb 2022 15:26:38 +0000 (10:26 -0500)
commit5e8996b230320caf66aa289d898e710248c9c1e4
tree6ae3d0b9d71e1e9e54851cf5d1e1e99844ce5c94
parent21bba9a7ba48b315224886abdfd0043447ddad86
NFSD: Streamline the rare "found" case

Move a rarely called function call site out of the hot path.

This is an exceptionally small improvement because the compiler
inlines most of the functions that nfsd_cache_lookup() calls.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
fs/nfsd/nfscache.c