cpuidle_enter_s2idle(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

cpuidle_enter_s2idle β€” enter an idle state suitable for suspend-to-idle. πŸ’€

okay so bestie, this is the cpuidle_enter_s2idle(9) page from the Kernel API Manual, and it's lowkey iconic: it's all about entering an idle state that's suitable for suspend-to-idle. 🫢


🧚 SYNOPSIS 🧚

Here's the function signature, copied exactly so nobody gets lost:

       int cpuidle_enter_s2idle (struct cpuidle_driver *drv , struct
       cpuidle_device *dev , u64 latency_limit_ns );

πŸ’… ARGUMENTS πŸ’…

  • drv β€” the cpuidle driver for the given CPU. πŸ–₯️
  • dev β€” the cpuidle device for the given CPU. πŸŽ€
  • latency_limit_ns β€” the idle state exit latency limit. ⏱️

🌸 DESCRIPTION 🌸

If there are states with the ->enter_s2idle callback, it finds the deepest of them and enters it with frozen tick. ❄️

That's the whole vibe, no cap: deepest callback state, frozen tick, suspend-to-idle main character energy. ✨


πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./drivers/cpuidle/cpuidle.c β€” plus these cross-reference besties:


okay that's the page, bestie 🫢 β€” footer energy: source/version ./drivers/cpuidle, date October 2026, and the manual name is cpuidle_enter_s2idle(9). slay. πŸ’…βœ¨

πŸ“¦ where this page comes from