linux-stable/include/linux/sunrpc
Chuck Lever 62ed448cc5 SUNRPC: Optimize xdr_reserve_space()
Transitioning between encode buffers is quite infrequent. It happens
about 1 time in 400 calls to xdr_reserve_space(), measured on NFSD
with a typical build/test workload.

Force the compiler to remove that code from xdr_reserve_space(),
which is a hot path on both the server and the client. This change
reduces the size of xdr_reserve_space() from 10 cache lines to 2
when compiled with -Os.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Reviewed-by: J. Bruce Fields <bfields@fieldses.org>
2022-06-08 12:39:37 -04:00
..
addr.h
auth.h SUNRPC/auth: async tasks mustn't block waiting for memory 2022-03-13 12:59:35 -04:00
auth_gss.h
bc_xprt.h
cache.h SUNRPC: Make cache_req::thread_wait an unsigned long 2022-05-19 12:25:39 -04:00
clnt.h SUNRPC: Ensure that the gssproxy client can start in a connected state 2022-05-07 14:31:15 -04:00
debug.h
gss_api.h
gss_asn1.h
gss_err.h
gss_krb5.h
gss_krb5_enctypes.h
metrics.h
msg_prot.h
rpc_pipe_fs.h
rpc_rdma.h
rpc_rdma_cid.h
sched.h NFS: Fix memory allocation in rpc_malloc() 2022-03-22 15:52:55 -04:00
stats.h
svc.h SUNRPC: Simplify synopsis of svc_pool_for_cpu() 2022-05-19 12:25:40 -04:00
svc_rdma.h
svc_rdma_pcl.h
svc_xprt.h Networking changes for 5.18. 2022-03-24 13:13:26 -07:00
svcauth.h
svcauth_gss.h
svcsock.h
timer.h
types.h
xdr.h SUNRPC: Optimize xdr_reserve_space() 2022-06-08 12:39:37 -04:00
xprt.h NFS client bugfixes for Linux 5.18 2022-04-08 07:39:17 -10:00
xprtmultipath.h
xprtrdma.h
xprtsock.h SUNRPC: Do not dereference non-socket transports in sysfs 2022-03-25 13:22:58 -04:00