pm_runtime_put(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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:


xoxo, your Unix bestie πŸ’– β€” source/version: ./include/linux, date: October 2026. periodt. 🫢

πŸ“¦ where this page comes from