cpufreq_enable_fast_switch(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

cpufreq_enable_fast_switch - Enable fast frequency switching for policy. πŸ’…

omg hi bestie, welcome to cpufreq_enable_fast_switch(9) from the Kernel API Manual πŸ’– this page is lowkey all about turning on fast frequency switching for a policy, and it is very specific energy ✨


🌸 SYNOPSIS 🌸

void cpufreq_enable_fast_switch (struct cpufreq_policy *policy );

πŸŽ€ ARGUMENTS πŸŽ€

  • policy β€” the cpufreq policy you're trying to enable fast frequency switching for. 🫢

πŸ’… DESCRIPTION πŸ’…

So the whole vibe is: this function tries to enable fast frequency switching for policy. periodt ✨

⚠️ Heads up, bestie: the attempt will fail if there is at least one transition notifier registered at this point, because fast frequency switching is quite fundamentally at odds with transition notifiers. That's the drama. 😭

And if it does succeed? Then it will make registration of transition notifiers fail going forward. No cap, that's the tradeoff. πŸ’€


🌈 SEE ALSO 🌈

Kernel file ./drivers/cpufreq/cpufreq.c is the home base for this whole situation, and the linked besties are:


made with πŸ’– by the ./drivers/cpufreq besties for cpufreq_enable_fast_switch(9) Β· October 2026 ✨

πŸ“¦ where this page comes from