pm_suspend(9)
okay bestie, welcome to pm_suspend(9) from the Kernel API Manual β it's the externally visible function for suspending the system, and yes, we're getting into it π
β¨ NAME β¨
pm_suspend β externally visible function for suspending the system. periodt.
πΈ SYNOPSIS πΈ
int pm_suspend (suspend_state_t state );
π ARGUMENTS π
stateβ the system sleep state to enter. that's the whole assignment, bestie.
π« DESCRIPTION π«
okay so here's the tea: pm_suspend checks if the value of state represents one of the supported states, then it executes enter_state and updates system suspend statistics. slay β¨
π₯ SEE ALSO π₯
- Kernel file:
./kernel/power/suspend.c pm_suspend_default_s2idle(9)suspend_set_ops(9)suspend_valid_only_mem(9)suspend_prepare(9)suspend_enter(9)suspend_devices_and_enter(9)suspend_finish(9)enter_state(9)
signed off from ./kernel/power, dated October 2026 β this was pm_suspend(9), mwah ππ«Ά
π¦ 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