cpuidle_use_deepest_state(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’€ cpuidle_use_deepest_state β€” the governor override glow-up

okay so bestie, welcome to section 9 of the Kernel API Manual πŸŽ€ β€” this is cpuidle_use_deepest_state, and it's literally the "let my CPU nap HARD" switch. no cap.


✨ SYNOPSIS ✨

void cpuidle_use_deepest_state (u64 latency_limit_ns );

that's it. one function, one argument, zero drama. πŸ’…


🌸 ARGUMENTS 🌸

  • latency_limit_ns β€” the idle state exit latency limit, in nanoseconds ⏱️. and if you pass 0? that means no override, bestie β€” the governors get to keep doing their thing. 🫢

πŸ’– DESCRIPTION πŸ’–

here's the tea β˜•:

if latency_limit_ns is nonzero, this sets the current CPU to use the deepest idle state whose exit latency is within latency_limit_ns β€” and yeah, that overrides the governors going forward πŸ”₯ (main character energy, honestly).

if latency_limit_ns is zero, it does not override the governors. nope. governors stay in charge. πŸ‘‘

fr fr, it's just a set/unset of governor override mode β€” nothing sneaky happening in the background πŸ’€

πŸ¦‹ SEE ALSO πŸ¦‹

the kernel file lives at ./drivers/cpuidle/cpuidle.c β€” go snoop if you're nosy (respectfully) πŸ™ˆ

and these absolute icons in the cpuidle family iykyk:

the whole squad, assembled. periodt. 🌈


that's the whole page, bestie β€” go let your CPU have the deepest, most luxurious nap it's allowed to take πŸ§šπŸ’œ

β€” sig ✨ source: ./drivers/cpuidle, dated October 2026, kernel api manual vibes only, no notes πŸ’…

πŸ“¦ where this page comes from