linux/net/sunrpc
Chuck Lever bb93a1ae2b xprtrdma: Allocate req's regbufs at xprt create time
Allocating an rpcrdma_req's regbufs at xprt create time enables
a pair of micro-optimizations:

First, if these regbufs are always there, we can eliminate two
conditional branches from the hot xprt_rdma_allocate path.

Second, by allocating a 1KB buffer, it places a lower bound on the
size of these buffers, without adding yet another conditional
branch. The lower bound reduces the number of hardway re-
allocations. In fact, for some workloads it completely eliminates
hardway allocations.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2019-04-25 15:02:11 -04:00
..
auth_gss SUNRPC: Add function rpc_sleep_on_timeout() 2019-04-25 14:18:13 -04:00
xprtrdma xprtrdma: Allocate req's regbufs at xprt create time 2019-04-25 15:02:11 -04:00
addr.c
auth_null.c SUNRPC: Add rpc_auth::au_ralign field 2019-02-14 11:48:36 -05:00
auth_unix.c NFSoRDMA client updates for 5.1 2019-02-25 09:35:49 -05:00
auth.c SUNRPC: Use struct xdr_stream when decoding RPC Reply header 2019-02-14 09:11:18 -05:00
backchannel_rqst.c SUNRPC: Allow dynamic allocation of back channel slots 2019-03-02 16:25:26 -05:00
cache.c sunrpc: fix cache_head leak due to queued request 2018-12-04 15:42:08 -05:00
clnt.c SUNRPC: Add the 'softerr' rpc_client flag 2019-04-25 14:18:14 -04:00
debugfs.c SUNRPC: Fix up tracking of timeouts 2019-04-25 14:18:13 -04:00
Kconfig SUNRPC: Add build option to disable support for insecure enctypes 2019-02-13 13:33:12 -05:00
Makefile SUNRPC: remove generic cred code. 2018-12-19 13:52:46 -05:00
netns.h
rpc_pipe.c sunrpc: convert to DEFINE_SHOW_ATTRIBUTE 2019-01-02 12:05:49 -05:00
rpcb_clnt.c SUNRPC: Add function rpc_sleep_on_timeout() 2019-04-25 14:18:13 -04:00
sched.c SUNRPC: Declare RPC timers as TIMER_DEFERRABLE 2019-04-25 14:18:13 -04:00
socklib.c SUNRPC: Avoid digging into the ATOMIC pool 2019-04-25 14:58:35 -04:00
stats.c
sunrpc_syms.c
sunrpc.h
svc_xprt.c svcrpc: fix unlikely races preventing queueing of sockets 2019-02-06 15:37:14 -05:00
svc.c SUNRPC: Remove rpc_xprt::tsh_size 2019-02-13 13:14:35 -05:00
svcauth_unix.c SUNRPC: Make server side AUTH_UNIX use lockless lookups 2018-10-29 16:58:04 -04:00
svcauth.c SUNRPC: Add lockless lookup of the server's auth domain 2018-10-03 11:32:59 -04:00
svcsock.c svcrpc: fix UDP on servers with lots of threads 2019-02-21 10:17:36 -05:00
sysctl.c Remove 'type' argument from access_ok() function 2019-01-03 18:57:57 -08:00
timer.c
xdr.c NFS: Account for XDR pad of buf->pages 2019-02-14 10:13:49 -05:00
xprt.c SUNRPC: Start the first major timeout calculation at task creation 2019-04-25 14:18:13 -04:00
xprtmultipath.c SUNRPC: Fix some kernel doc complaints 2019-01-02 12:05:18 -05:00
xprtsock.c SUNRPC: Add tracking of RPC level errors 2019-04-25 14:18:13 -04:00