]> 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)
commitcf5bcc6473749f77568eaf52933745d7d232bf20
tree6ae3d0b9d71e1e9e54851cf5d1e1e99844ce5c94
parentc366d9ac5fd1ace8aa7dd6c63e470fd7dd7ebf75
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