pm_runtime_put(9)
π pm_runtime_put π
okay so this is the Kernel API Manual entry for pm_runtime_put, and it's lowkey iconic. bestie, it's giving βdrop the counter, maybe queue the idle checkβ energy, and the vibes are immaculate.
πΈ NAME πΈ
pm_runtime_put β drop device usage counter and queue up "idle check" if 0.
β¨ SYNOPSIS β¨
void pm_runtime_put (struct device *dev );
π ARGUMENTS π
devβ target device. that's the one, bestie.
π¦ DESCRIPTION π¦
okay so here's the whole plot: decrement the runtime PM usage counter of dev, and if it turns out to be equal to 0, queue up a work item for dev like in pm_request_idle. that's literally it. no extra steps, no cap. π
π₯ SEE ALSO π₯
Kernel file: ./include/linux/pm_runtime.h
the whole reference squad is right here, and yes we're listing every single one because main character energy means no skipping the group chat:
pm_suspend_ignore_children(9)pm_runtime_get_noresume(9)pm_runtime_put_noidle(9)pm_runtime_suspended(9)pm_runtime_active(9)pm_runtime_status_suspended(9)pm_runtime_enabled(9)pm_runtime_blocked(9)pm_runtime_has_no_callbacks(9)pm_runtime_mark_last_busy(9)pm_runtime_is_irq_safe(9)pm_runtime_idle(9)pm_runtime_suspend(9)pm_runtime_autosuspend(9)pm_runtime_resume(9)pm_request_idle(9)pm_request_resume(9)pm_request_autosuspend(9)pm_runtime_get(9)pm_runtime_get_sync(9)pm_runtime_resume_and_get(9)__pm_runtime_put_autosuspend(9)pm_runtime_put_autosuspend(9)pm_runtime_put_sync(9)pm_runtime_put_sync_suspend(9)pm_runtime_put_sync_autosuspend(9)pm_runtime_set_active(9)pm_runtime_set_suspended(9)pm_runtime_disable(9)pm_runtime_use_autosuspend(9)pm_runtime_dont_use_autosuspend(9)
xoxo, your Unix bestie π β source/version: ./include/linux, date: October 2026. periodt. π«Ά
π¦ 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