dpm_suspend_start(9)
β¨ dpm_suspend_start(9) β¨
okay so this is a page from the Kernel API Manual (yes, the kernel has a whole manual and it's lowkey iconic π ) and we're about to get into how the kernel puts your devices to sleep before a power-management glow-up. stay with me bestie, it's actually not that deep π«Ά
πΈ NAME πΈ
dpm_suspend_start β literally the "get the devices ready for the PM transition, then suspend them" function. prepare + suspend, one iconique little package β¨
π¦ SYNOPSIS π¦
int dpm_suspend_start (pm_message_t state );
π ARGUMENTS π
stateβ the PM transition of the system that's being carried out. that's the vibe check for which kind of sleep we're doing π€
π DESCRIPTION π
so what it does is: it prepares all non-sysdev devices for the system PM transition, and then it executes the "suspend" callbacks for them. that's it. that's the whole slay. no cap π
bestie note: "non-sysdev" means the sysdev devices are not in this batch β they're on their own little journey π
π₯ SEE ALSO π₯
this is the friend group, and yes it's a big one β every single one of these is linked and every single one matters π«Ά
the kernel file we're living in is ./drivers/base/power/main.c, and the rest of the squad is:
pm_hibernate_is_recovering(9)device_pm_sleep_init(9)device_pm_lock(9)device_pm_unlock(9)device_pm_add(9)device_pm_remove(9)device_pm_move_before(9)device_pm_move_after(9)device_pm_move_last(9)dpm_wait(9)pm_op(9)pm_late_early_op(9)pm_noirq_op(9)dpm_watchdog_handler(9)dpm_watchdog_set(9)dpm_watchdog_clear(9)dev_pm_skip_resume(9)device_resume_noirq(9)dpm_resume_noirq(9)device_resume_early(9)dpm_resume_early(9)dpm_resume_start(9)device_resume(9)dpm_resume(9)device_complete(9)dpm_complete(9)dpm_resume_end(9)resume_event(9)device_suspend_noirq(9)dpm_suspend_noirq(9)device_suspend_late(9)dpm_suspend_late(9)dpm_suspend_end(9)legacy_suspend(9)device_suspend(9)dpm_suspend(9)device_prepare(9)dpm_prepare(9)device_pm_wait_for_dev(9)dpm_for_each_dev(9)
go read them. all of them. i'll wait π
and that's the page!! π
this little masterpiece lives in ./drivers/base/power, dated October 2026 β so like, future girlboss energy fr fr π mwah, go suspend some devices responsibly β¨π
π¦ 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