pm_runtime_mark_last_busy(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 πŸ‘―β€β™€οΈ:

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