cpufreq_this_cpu_can_update(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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_cpu is set in policy and 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 πŸŽ€


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