cpufreq_enable_fast_switch(9)
β¨ 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:
cpufreq_cpu_get(9)cpufreq_cpu_put(9)adjust_jiffies(9)cpufreq_notify_transition(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_update_pressure(9)cpufreq_set_policy(9)cpufreq_update_policy(9)cpufreq_update_limits(9)cpufreq_register_driver(9)
made with π by the ./drivers/cpufreq besties for cpufreq_enable_fast_switch(9) Β· October 2026 β¨
π¦ 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