rpc_init_rtt(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 your struct 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