pm_runtime_mark_last_busy(9)
π pm_runtime_mark_last_busy(9) β Kernel API Manual
okay so bestie, welcome to the <pink>Kernel API Manual</pink> β¨ this one's a lil one-pager and honestly? it's giving tiny but mighty π
β¨ NAME β¨
pm_runtime_mark_last_busy β literally just updates the last access time of a device π
π¦ SYNOPSIS π¦
void pm_runtime_mark_last_busy (struct device *dev );
that's it. that's the whole vibe check. no return value, no drama π
πΈ ARGUMENTS πΈ
devβ the target device π― like, the one you're stamping with a fresh timestamp. that's her. she's the main character here.
π DESCRIPTION π
so what this does, no cap: it updates the last access time of dev β the one that the runtime PM autosuspend mechanism is obsessively keeping track of β and sets it to the current time, as returned by ktime_get_mono_fast_ns β°β¨
that's the whole thing, fr fr. one call, one timestamp refresh, and the autosuspend machinery knows you were just here π«Ά
ngl it's the "read receipt" of the kernel power-management world π you touched the device, so you tell the world you touched it, and autosuspend can chill a lil longer before doing its thing π
π§ SEE ALSO π§
kernel file ./include/linux/pm_runtime.h β and the whole friend group π―ββοΈ:
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_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(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)
like I said. big friend group. go read them all, iykyk π
and that's the whole page babes π this lil beauty lives in ./include/linux, dropped October 2026, and yes β she's pm_runtime_mark_last_busy(9) and she ATE π₯π see u in the next manpage 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