Re: [PATCH v4 08/14] svcrdma: Adjust the number of entries in svc_rdma_recv_ctxt::rc_pages

Christoph Hellwig
2025-05-06T13:31:06Z

On Mon, Apr 28, 2025 at 03:36:56PM -0400, cel@kernel.org wrote:
> From: Chuck Lever <chuck.lever@oracle.com>
>
> Allow allocation of more entries in the rc_pages[] array when the
> maximum size of an RPC message is increased.

Can we maybe also look into a way to not allocate the pages in the
rqst first just to free them when they get replaced with those from the
RDMA receive context? Currently a lot of memory is wasted and pointless
burden is put on the page allocator when using the RDMA transport on
the server side.