devfreq_update_interval(9)
π 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 anunsigned 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 π«Ά:
find_device_devfreq(9)devfreq_get_freq_range(9)devfreq_get_freq_level(9)devfreq_update_status(9)find_devfreq_governor(9)try_then_request_governor(9)devfreq_update_target(9)update_devfreq(9)devfreq_monitor(9)devfreq_monitor_start(9)devfreq_monitor_stop(9)devfreq_monitor_suspend(9)devfreq_monitor_resume(9)devfreq_notifier_call(9)qos_notifier_call(9)qos_min_notifier_call(9)qos_max_notifier_call(9)devfreq_dev_release(9)devfreq_add_device(9)devfreq_remove_device(9)devm_devfreq_add_device(9)devm_devfreq_remove_device(9)devfreq_suspend_device(9)devfreq_resume_device(9)devfreq_suspend(9)devfreq_resume(9)devfreq_add_governor(9)devm_devfreq_add_governor(9)devfreq_remove_governor(9)devfreq_summary_show(9)devfreq_recommended_opp(9)devfreq_register_opp_notifier(9)devfreq_unregister_opp_notifier(9)devm_devfreq_register_opp_notifier(9)devm_devfreq_unregister_opp_notifier(9)devfreq_register_notifier(9)devm_devfreq_register_notifier(9)devm_devfreq_unregister_notifier(9)
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
- 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