cpufreq_update_limits(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ cpufreq_update_limits(9) β€” Kernel API Manual πŸ’…

okay so bestie, welcome to the Kernel API Manual page for cpufreq_update_limits(9) β€” it is literally about updating policy limits for one CPU. no cap. πŸ’–

✨ NAME ✨

cpufreq_update_limits β€” Update policy limits for a given CPU.

πŸ¦‹ SYNOPSIS πŸ¦‹

void cpufreq_update_limits (unsigned int cpu );

🧠 ARGUMENTS 🧠

  • cpu β€” CPU to update the policy limits for. that’s the whole vibe check: you hand it a CPU, and it handles that CPU’s policy limits. πŸ‘‘

πŸ”₯ DESCRIPTION πŸ”₯

okay so here’s the tea: cpufreq_update_limits() invokes the driver’s ->update_limits callback if present. If that callback isn’t present, it calls cpufreq_policy_refresh for cpu. the way that it just does exactly one of those two things is honestly iconic. ✨

πŸ’‘ callback if it’s there; otherwise cpufreq_policy_refresh for cpu. that’s it, bestie. 🫢

🌈 SEE ALSO 🌈

Kernel file ./drivers/cpufreq/cpufreq.c


πŸ’– source/version: ./drivers/cpufreq Β· date: October 2026 Β· from the Kernel API Manual, bestie. periodt. πŸ’…
πŸ“¦ where this page comes from