devfreq_update_interval(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… devfreq_update_interval β€” like, the Kernel API Manual one, bestie

Okay so before we even start: this is a page from the Kernel API Manual (section 9, the kernel-functions girlies ✨). Sit down, grab a strawberry drink πŸ“, and let's get into it.


✨ NAME ✨

devfreq_update_interval β€” update the device devfreq monitoring interval. That's it, that's the whole vibe check. πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

void devfreq_update_interval (struct devfreq *devfreq , unsigned int
*delay );

Note the return type, bestie: void. She does the thing and she leaves. No return value, no notes, no follow-up text. πŸ‘‘


🌸 ARGUMENTS 🌸

  • devfreq β€” the devfreq instance. Your main character struct, fr fr. πŸ’–
  • delay β€” the new polling interval that's getting set. It's an unsigned int * pointer, so yes, pointer, not the bare number. 🫢

🧚 DESCRIPTION 🧚

So this is a helper function, and her whole job is setting a new load monitoring polling interval. That's it β€” she's the glow-up for your polling cadence. ✨

The tea on when you call her: this function is meant to be called from the governor, in response to the DEVFREQ_GOV_UPDATE_INTERVAL event. So the governor's like "hey bestie, new interval please" and this function is the one who actually handles it. iykyk. πŸ”₯

No cap, it's genuinely that simple. She's a helper. She helps. Periodt. πŸ’…


πŸ’œ SEE ALSO πŸ’œ

Kernel file ./drivers/devfreq/devfreq.c, plus the whole extended friend group β€” honestly iconic, look how many of them there are 🫢:


Go read the others too, bestie, don't leave them on read. πŸ“–πŸ’€

And that's the page!! πŸŽ€ Sign-off time: this lil masterpiece lives in ./drivers/devfreq, and it's dated October 2026. October 2026?? She's from the future, she's a time traveler, we love a mysterious queen. πŸ¦‹πŸ‘‘ Bye bestie, go update some intervals! πŸ’–

πŸ“¦ where this page comes from