rpc_free(9)
π rpc_free(9) β free RPC buffer resources allocated via rpc_malloc π
okay so this is a section 9 page from the Kernel API Manual, bestie β aka kernel internals territory, aka we're in the server room now π«Ά buckle up.
β¨ NAME β¨
rpc_free β literally frees the RPC buffer resources that got allocated via rpc_malloc π
no cap, that's the whole gig.
πΈ SYNOPSIS πΈ
void rpc_free (struct rpc_task *task );
it's giving "one function, one job, zero drama" β¨
π¦ ARGUMENTS π¦
taskβ the RPC task π that's the one pointer you hand over, and it's anstruct rpc_task *, iykyk.
π SEE ALSO π
the whole sunrpc friend group, fr fr β kernel file ./net/sunrpc/sched.c plus:
__rpc_do_wake_up_task_on_wq(9)rpc_wake_up_queued_task_set_status(9)rpc_wake_up_locked(9)rpc_wake_up(9)rpc_wake_up_status_locked(9)rpc_wake_up_status(9)rpc_malloc(9)
like, if rpc_free is the cleanup queen π§Ή then rpc_malloc(9) is her other half β they're a matching set, don't split them up ππ
π quick vibe check: this frees stuff that came from rpc_malloc. that's it. that's the note. go read the friends above if you want the full lore π₯
and that's the page, babe π brought to you from ./net/sunrpc, dated October 2026, section 9, kernel API manual β 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