]> git.baikalelectronics.ru Git - kernel.git/commit
SUNRPC: Simplify the SVC dispatch code path
authorChuck Lever <chuck.lever@oracle.com>
Thu, 7 Oct 2021 20:17:24 +0000 (16:17 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Tue, 12 Oct 2021 14:13:57 +0000 (10:13 -0400)
commit040ea8834afaf0d49e8a1b3215394a1813de8516
tree927e54776a9fdda30c461266e14917cfbf03f3ce
parent70bd6ea1e415a3ddf608f5b83f54e68e2697313d
SUNRPC: Simplify the SVC dispatch code path

Micro-optimization: The last user of the generic SVC dispatch code
path has been removed, so svc_process_common() can be simplified.
This declutters the hot path so that the by-far most common case
(a dispatch function exists) is made the /only/ path.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
include/linux/sunrpc/svc.h
net/sunrpc/svc.c