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 c5d68d25bd6b ("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
..
2024-01-07 17:54:26 -05:00
2022-05-19 12:25:38 -04:00
2022-05-19 12:25:38 -04:00
2021-07-08 14:03:23 -04:00
2024-01-07 17:54:26 -05:00
2023-08-31 15:32:18 -07:00
2023-08-31 15:36:41 -07:00