svc_rdma_send_ctxt_put(9)
π NAME π
Manual name? Kernel API Manual, bestie. Page? svc_rdma_send_ctxt_put(9). The useful one-liner is literally: svc_rdma_send_ctxt_put β Queue send_ctxt for deferred release. β¨
π SYNOPSIS π
void svc_rdma_send_ctxt_put (struct svcxprt_rdma *rdma , struct
svc_rdma_send_ctxt *ctxt );
π¦ ARGUMENTS π¦
rdmaβ the controllingsvcxprt_rdma, aka the transport's main character.ctxtβ thesend_ctxtto queue for deferred release. It is not being released right this second; it is getting in line for later, iykyk. π
πΈ DESCRIPTION πΈ
This function queues ctxt onto sc_send_release_list. The actual DMA unmap and page release run later in svc_rdma_send_ctxts_drain, typically from xpo_release_ctxt.
On the empty-to-non-empty transition, it sets XPT_DATA and enqueues the transport. This self-trigger matters, fr fr: without it, a Send completion that arrives after the last xpo_release_ctxt on an idle connection would leave the send_ctxt's DMA mappings and reply pages pinned until another drain occurred. Not the slay ending we want, so the self-trigger handles it. π₯
π SEE ALSO π
- Kernel file:
./net/sunrpc/xprtrdma/svc_rdma_sendto.c svc_rdma_send_ctxts_destroy(9)svc_rdma_send_ctxt_get(9)svc_rdma_send_ctxts_drain(9)svc_rdma_wake_send_waiters(9)svc_rdma_sq_wait(9)svc_rdma_post_send_err(9)svc_rdma_wc_send(9)svc_rdma_post_send(9)svc_rdma_encode_read_list(9)svc_rdma_encode_write_segment(9)svc_rdma_encode_write_chunk(9)svc_rdma_encode_write_list(9)svc_rdma_encode_reply_chunk(9)svc_rdma_page_dma_map(9)svc_rdma_iov_dma_map(9)svc_rdma_xb_dma_map(9)svc_rdma_xb_count_sges(9)svc_rdma_check_pull_up(9)svc_rdma_xb_linearize(9)svc_rdma_pull_up_reply_msg(9)svc_rdma_send_error_msg(9)svc_rdma_sendto(9)svc_rdma_result_payload(9)
Source/version: ./net/sunrpc/xprtrdma Β· date: October 2026. Bye bestie, go queue those send_ctxts with main character energy π«Άβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms