frwr_unmap_sync(9)
β¨ frwr_unmap_sync(9) β Kernel API Manual β¨
okay bestie, this is frwr_unmap_sync(9) from the Kernel API Manual, and it's giving memory-region cleanup realness π
πΈ NAME πΈ
frwr_unmap_sync β invalidate memory regions that were registered for @req π
π¦ SYNOPSIS π¦
void frwr_unmap_sync (struct rpcrdma_xprt *r_xprt , struct rpcrdma_req
*req );
πΌ ARGUMENTS πΌ
r_xprtβ the controlling transport instance, aka the main character handling the transport vibes β¨reqβ anrpcrdma_reqwith a non-empty list of MRs to process, no empty-list nonsense here π«Ά
π DESCRIPTION π
So it sleeps until it is safe for the host CPU to access the previously mapped memory regions π΄β¨
This guarantees that registered MRs are properly fenced from the server before the RPC consumer accesses the data in them π₯ no cap, that fence has to be fenced.
It also ensures proper Send flow control: waking the next RPC waits until this RPC has relinquished all its Send Queue entries π the way it makes the next RPC wait its turn is honestly iconic.
π₯ SEE ALSO π₯
- Kernel file
./net/sunrpc/xprtrdma/frwr_ops.cand the whole squad:frwr_mr_release(9),frwr_reset(9),frwr_mr_init(9),frwr_query_device(9),frwr_map(9),frwr_wc_fastreg(9),frwr_send(9),frwr_reminv(9),frwr_wc_localinv(9),frwr_wc_localinv_wake(9),frwr_wc_localinv_done(9),frwr_unmap_async(9),frwr_wp_create(9)π
cute little sign-off bestie: source/version is ./net/sunrpc/xprtrdma, date is October 2026, and the page is frwr_unmap_sync(9) β periodt ππ
π¦ 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