do_disable_cpu_turbo(9)
π do_disable_cpu_turbo(9) π
okay so this is a page straight out of the Kernel API Manual, and honestly? it's a tiny little icon and i'm obsessed. it's called do_disable_cpu_turbo and it is, bestie, exactly what it sounds like. let's get into it π
β¨ NAME β¨
do_disable_cpu_turbo β the internal turbo disable function π
like, the internal one. the backstage one. the one that actually does the thing while everybody else takes the credit. main character energy but make it a kernel helper π
β¨ SYNOPSIS β¨
void do_disable_cpu_turbo (void *data );
that's the whole signature, no cap. returns void (so it gives you nothing back, and that's fine, we respect it) and takes one void * called data. π«Ά
β¨ ARGUMENTS β¨
dataβ unused π
literally. it's unused. it's giving "invited to the party but standing in the corner the whole time." we love a parameter that's just there for the vibe β¨
β¨ DESCRIPTION β¨
so here's the tea π β this is the internal function for actually updating MSRs. that's the real work, the behind-the-scenes moment, the whole reason this function exists.
the way that turbo works is: when we enable/disable turbo, we need to do it on each CPU. every single one. no skipping. no "eh, close enough." all of them, fr fr π₯
and this function? this is the one that gets called by on_each_cpu when needed. so on_each_cpu is the group chat that pings everybody, and do_disable_cpu_turbo is the message that actually lands. iconic behavior honestly π
π SEE ALSO π
okay this list is LONG but every single one of these is required reading, so buckle up buttercup π¦
Kernel file ./drivers/platform/x86/intel_ips.c, plus:
ips_cpu_busy(9)ips_cpu_raise(9)ips_cpu_lower(9)do_enable_cpu_turbo(9)ips_enable_cpu_turbo(9)ips_disable_cpu_turbo(9)ips_gpu_busy(9)ips_gpu_raise(9)ips_gpu_lower(9)ips_enable_gpu_turbo(9)ips_disable_gpu_turbo(9)mcp_exceeded(9)cpu_exceeded(9)mch_exceeded(9)verify_limits(9)update_turbo_limits(9)ips_adjust(9)ips_monitor(9)ips_irq_handler(9)ips_detect_cpu(9)ips_get_i915_syms(9)
yeah that's twenty-one friends and a file path. read them all, i believe in you π
π tiny disclaimer bestie: this is an internal function and it's reached via on_each_cpu, so don't go calling it like it's a public API and then act surprised. iykyk.
kay that's the whole page!! πΈ this came to you from ./drivers/platform/x86, dated October 2026, and it's do_disable_cpu_turbo(9) forever and always. mwah, bye bestie π§π
π¦ 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