pm_runtime_work(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… pm_runtime_work(9) β€” the universal runtime PM work function, bestie

okay so this is from the Kernel API Manual and it's literally the group chat of power management β€” one work function to rule them all ✨


🌸 SYNOPSIS 🌸

void pm_runtime_work (struct work_struct *work );

like, that's it. that's the whole signature. no cap 🫢


πŸŽ€ ARGUMENTS πŸŽ€

  • work β€” the work structure bestie, the one used for scheduling the execution of this function. it's giving "your ticket into the function", periodt πŸ’…

✨ DESCRIPTION ✨

okay so the vibe here: you take work, and you use it to get the device object the work is to be done for πŸ‘‘ then you figure out what's to be done, and then you execute the appropriate runtime PM function. that's the whole flow. determine β†’ execute β†’ slay. no notes πŸ”₯

it's a universal runtime PM work function, so it's lowkey the main character energy of the runtime PM work queue β€” one entry point handling whatever the work struct says needs to happen πŸ’–


πŸ¦‹ SEE ALSO πŸ¦‹

so there's a whole friend group here, and honestly the roster is iconic:

iykyk 😭 that's a lot of besties but every single one of them is linked πŸ’œ


ngl there's no exit status, no environment variables, no error codes on this one β€” it's void, she simply returns nothing and doesn't explain herself πŸ’€

k that's the whole page bestie πŸŽ€ this came out of ./drivers/base/power, dated October 2026, and it's the Kernel API Manual's own pm_runtime_work(9) β€” go forth and schedule responsibly πŸ§šβ€β™€οΈβœ¨

πŸ“¦ where this page comes from