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)
commit0ae93b99beb283438aa571a6add4eab0c077d576
tree927e54776a9fdda30c461266e14917cfbf03f3ce
parent35940a58f9f1db96e5688e426d713f330ead70b8
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