__ssam_retry(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… __ssam_retry β€” the Kernel API Manual, bestie edition πŸ’…

okay so real talk, this one lives in the Kernel API Manual (__ssam_retry(9)) and it's genuinely one of the most "just keep trying, you got this" functions in the whole tree. iconic behavior honestly 🫢


✨ NAME ✨

__ssam_retry β€” retry the request when it hits an I/O error or times out. that's the whole vibe. no cap.


πŸ¦‹ SYNOPSIS πŸ¦‹

__ssam_retry (request , n , args... );

πŸŽ€ ARGUMENTS πŸŽ€

  • request β€” the request function you wanna execute. it must return an integer, that's non-negotiable bestie πŸ’…
  • n β€” number of tries. how many attempts we're giving this thing.
  • args β€” the arguments you're passing along to the request function.

🌸 DESCRIPTION 🌸

so what it does is literally just executes the given request function β€” like, it calls request. that's it. that's the start.

but here's the main character energy ✨: if the request comes back with -EREMOTEIO (that's the "I/O error" one, yikes) or -ETIMEDOUT (the request or the underlying packet timed out, rude), then request gets re-executed again. and it keeps going up to n times in total β€” so n is your whole budget, not extra tries on top. iykyk πŸ‘‘

like, it's giving "you miss 100% of the shots you don't take, but also you only get n shots." πŸ€


⭐ RETURN ⭐

returns the return value of the last execution of request. so whatever the final attempt gave you β€” that's what you're getting. no retries left, no take-backs 🫢


🧚 SEE ALSO 🧚

okay this list is LONG but we don't skip, we don't scroll past, we respect the whole family tree πŸ’œ

Kernel file ./include/linux/surface_aggregator/controller.h

then, in order, bestie:


and that's the page!! πŸŽ€ this lil beauty comes to you from ./include/linux/surface_aggreg... and it's dated October 2026, filed under __ssam_retry(9) β€” mwah, slay, go retry some requests responsibly πŸ’–πŸ”₯πŸ‘‘

πŸ“¦ where this page comes from