linux/net/sunrpc/xprtrdma
Chuck Lever 877118c667 svcrdma: Pre-allocate svc_rdma_recv_ctxt objects
The original reason for allocating svc_rdma_recv_ctxt objects during
Receive completion was to ensure the objects were allocated on the
NUMA node closest to the underlying IB device.

Since commit c5d68d25bd ("svcrdma: Clean up allocation of
svc_rdma_recv_ctxt"), however, the device's favored node is
explicitly passed to the memory allocator.

To enable switching Receive completion to soft IRQ context, move
memory allocation out of completion handling, since it can be
costly, and it can sleep.

A limited number of objects is now allocated at "accept" time.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
2024-01-07 17:54:26 -05:00
..
backchannel.c SUNRPC: change the back-channel queue to lwq 2023-10-16 12:44:08 -04:00
frwr_ops.c xprtrdma: Fix uninitialized variable 2022-10-05 15:47:17 -04:00
Makefile svcrdma: Add a "parsed chunk list" data structure 2020-11-30 13:00:22 -05:00
module.c SUNRPC: xprt_load_transport() needs to support the netid "rdma6" 2020-12-02 14:05:52 -05:00
rpc_rdma.c xprtrdma: treat all calls not a bcall when bc_serv is NULL 2022-05-31 17:09:30 -04:00
svc_rdma_backchannel.c svcrdma: Eliminate allocation of recv_ctxt objects in backchannel 2024-01-07 17:54:26 -05:00
svc_rdma_pcl.c svcrdma: Add a "parsed chunk list" data structure 2020-11-30 13:00:22 -05:00
svc_rdma_recvfrom.c svcrdma: Pre-allocate svc_rdma_recv_ctxt objects 2024-01-07 17:54:26 -05:00
svc_rdma_rw.c svcrdma: Remove an unused argument from __svc_rdma_put_rw_ctxt() 2023-06-17 13:18:07 -04:00
svc_rdma_sendto.c svcrdma: Eliminate allocation of recv_ctxt objects in backchannel 2024-01-07 17:54:26 -05:00
svc_rdma_transport.c svcrdma: Allocate new transports on device's NUMA node 2023-06-12 12:16:34 -04:00
svc_rdma.c sunrpc: simplify two-level sysctl registration for svcrdma_parm_table 2023-04-26 09:05:01 -04:00
transport.c sunrpc: simplify one-level sysctl registration for xr_tunables_table 2023-04-11 12:44:49 -04:00
verbs.c xprtrdma: Remap Receive buffers after a reconnect 2023-08-19 10:26:29 -04:00
xprt_rdma.h xprtrdma: Remove unused function declaration rpcrdma_bc_post_recv() 2023-08-23 15:58:47 -04:00