cpufreq_this_cpu_can_update(9)
π cpufreq_this_cpu_can_update π
okay so welcome to the Kernel API Manual, bestie β this is the page for cpufreq_this_cpu_can_update, and itβs lowkey a little vibe check for cpufreq policy updates. β¨
π¦ NAME π¦
cpufreq_this_cpu_can_update β check if a cpufreq policy can be updated. fr fr, thatβs the whole assignment. π
β¨ SYNOPSIS β¨
bool cpufreq_this_cpu_can_update (struct cpufreq_policy *policy );
π ARGUMENTS π
policyβ the cpufreq policy to check. thatβs the one weβre looking at, no cap. π«Ά
π₯ DESCRIPTION π₯
It returns true if:
- the local and remote CPUs share policy,
dvfs_possible_from_any_cpuis set inpolicyand the local CPU is not going offline (in which case it is not expected to run cpufreq updates any more).
so yeah β thatβs the whole checklist, and the going-offline part is literally the βbestie is leaving the group chatβ clause. ππ
π SEE ALSO π
- Kernel file
./kernel/sched/cpufreq.c cpufreq_add_update_util_hook(9)cpufreq_remove_update_util_hook(9)
mwah π this iconic little page came from ./kernel/sched, dated October 2026, and itβs literally the cpufreq_this_cpu_can_update(9) page. slay. ππ
π¦ 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