SUNRPC: Replace pool stats with per-CPU variables
authorChuck Lever <chuck.lever@oracle.com>
Tue, 10 Jan 2023 15:32:00 +0000 (10:32 -0500)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 20 Feb 2023 14:20:32 +0000 (09:20 -0500)
commitccf08bed6e7a80519569456edd2ea21b7b1701c6
tree5895f6b9e423350291c32b02a990a9b8d1b988ac
parent65ba3d2425bf51165b6e88509c632bd15d12883d
SUNRPC: Replace pool stats with per-CPU variables

Eliminate the use of bus-locked operations in svc_xprt_enqueue(),
which is a hot path. Replace them with per-cpu variables to reduce
cross-CPU memory bus traffic.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
include/linux/sunrpc/svc.h
net/sunrpc/svc.c
net/sunrpc/svc_xprt.c