cpuidle_enter_s2idle(9)
β¨ 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:
cpuidle_play_dead(9)cpuidle_use_deepest_state(9)cpuidle_find_deepest_state(9)cpuidle_enter_state(9)cpuidle_select(9)cpuidle_enter(9)cpuidle_reflect(9)cpuidle_poll_time(9)cpuidle_install_idle_handler(9)cpuidle_uninstall_idle_handler(9)cpuidle_pause_and_lock(9)cpuidle_resume_and_unlock(9)cpuidle_enable_device(9)cpuidle_disable_device(9)__cpuidle_register_device(9)cpuidle_register_device(9)cpuidle_unregister_device(9)cpuidle_unregister(9)cpuidle_register(9)cpuidle_init(9)
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
- 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