rpc_init_rtt(9)
β¨ rpc_init_rtt(9) β¨
okay so this is a page from the Kernel API Manual, and it's literally about one tiny function that sets up your RPC round-trip-time estimator. yes bestie, we're in rpc_init_rtt(9) territory and it's giving "small function, big job" energy π
πΈ NAME πΈ
rpc_init_rtt β bestie, this is the one that initializes an RPC RTT estimator context. that's it, that's the whole vibe. it gets your context ready so the timing math can actually do its thing later π
π¦ SYNOPSIS π¦
void rpc_init_rtt (struct rpc_rtt *rt , unsigned long timeo );
like. look at her. two params, void return, no drama. iconic behavior honestly π
π ARGUMENTS π
rtβ the context you want to initialize π«Ά this is yourstruct rpc_rtt *, the little home where all the RTT estimator state lives.timeoβ the initial timeout value, and important detail: it's measured in jiffies, not seconds, not millis, jiffies β±οΈ don't get it twisted bestie.
ngl, timeo being in jiffies is the kind of thing that will absolutely get you if you're not paying attention, so lock that in fr fr π
π SEE ALSO π
- the kernel file
./net/sunrpc/timer.cπ β yes, the actual source, go read her rpc_update_rtt(9)β the update queen π₯rpc_calc_rto(9)β the timeout-calculating icon β¨
and that's the whole page, bestie, no cap π§
mwah π this lil page lives under ./net/sunrpc and the version/date stamp on it says October 2026 β so yeah, she's from the future, we love that for her ππ
π¦ 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