cpufreq_update_pressure(9)
π cpufreq_update_pressure π
okay so this one lives in the Kernel API Manual (yes, the (9) section, we're being fancy today π) and it's genuinely one of the shorter little guys β but don't let the size fool you, bestie, it's doing real work in there.
β¨ NAME β¨
cpufreq_update_pressure β update cpufreq pressure for CPUs π
like, the whole personality of this function is literally "refresh the pressure numbers, for the CPUs". that's it. that's the vibe.
β¨ SYNOPSIS β¨
void cpufreq_update_pressure(struct cpufreq_policy *policy);
returns void, so no exit-status drama, no "did it work" energy β it just does the thing and dips π«Ά
β¨ ARGUMENTS β¨
policyβ the cpufreq policy of the CPUs. this is your one (1) input, bestie, so hold it close π
one argument. one job. minimalism ate, honestly.
β¨ DESCRIPTION β¨
so what it actually does: it updates the value of cpufreq pressure for all cpus in the policy πΈ
"all cpus in the policy" β not just one, not a random subset, all of them. policy is giving main character energy and the CPUs are its entourage, and they all get refreshed together. no cap.
that's the whole description. it's a short king and we respect it β¨
β¨ SEE ALSO β¨
it's a whole friend group in here β the kernel file ./drivers/cpufreq/cpufreq.c is basically the group chat, and these are everyone in it π
cpufreq_cpu_get(9)cpufreq_cpu_put(9)adjust_jiffies(9)cpufreq_notify_transition(9)cpufreq_enable_fast_switch(9)cpufreq_disable_fast_switch(9)cpufreq_driver_resolve_freq(9)cpufreq_parse_governor(9)cpufreq_add_dev(9)cpufreq_out_of_sync(9)cpufreq_quick_get(9)cpufreq_quick_get_max(9)cpufreq_get_hw_max_freq(9)cpufreq_get(9)cpufreq_suspend(9)cpufreq_resume(9)cpufreq_driver_test_flags(9)cpufreq_get_current_driver(9)cpufreq_get_driver_data(9)cpufreq_register_notifier(9)cpufreq_unregister_notifier(9)cpufreq_driver_fast_switch(9)cpufreq_driver_adjust_perf(9)cpufreq_driver_has_adjust_perf(9)cpufreq_set_policy(9)cpufreq_update_policy(9)cpufreq_update_limits(9)cpufreq_register_driver(9)
like, 29 cross-references for a two-line description? that's dedication fr fr π₯
π reminder that this page ships from ./drivers/cpufreq β that's the source, babes β and it's dated October 2026, which is lowkey iconic of it.
and that's the whole page, bestie β short, sweet, and pressure-updated. go touch some CPUs πβ¨π
π¦ 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