cpu_exceeded(9)
π cpu_exceeded β bestie, is this CPU literally overheating or what
okay so this is a page from the Kernel API Manual (yes, the kernel has lore and we're reading it π), and it's about one tiny little vibe-check function. let's get into it.
β¨ NAME β¨
cpu_exceeded β check whether a CPU core is outside its limits
like, is this core behaving or is it Doing Too Much? that's the whole job. π«Ά
πΈ SYNOPSIS πΈ
bool cpu_exceeded (struct ips_driver *ips , int cpu );
that's it. two arguments, one bool back. short and iconic, we love a low-effort king π
π¦ ARGUMENTS π¦
ipsβ the IPS driver struct. your main character data structure, the whole context basically πcpuβ the CPU number you wanna check. just point at the core and be like "u good?" π
β DESCRIPTION β
so what it actually does: it checks a given CPU's average temp or power and tells you if it's over its limit. that's it, that's the function π
temp or power, one of the two (or honestly whichever one is being dramatic today), and it's comparing the average against the max. no cap, that's the whole description. simple. clean. iconic.
π₯ RETURN π₯
trueβ if the temp or power has exceeded its maximum π (the core is lowkey cooked)falseβ otherwise β¨ (we're fine, everything's fine)
π SEE ALSO π
okay this is the part where the manpage goes feral and lists literally everyone in the friend group. no gatekeeping here, it's giving full ensemble cast π
- Kernel file
./drivers/platform/x86/intel_ips.c ips_cpu_busy(9)ips_cpu_raise(9)ips_cpu_lower(9)do_enable_cpu_turbo(9)ips_enable_cpu_turbo(9)do_disable_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)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)
ngl bestie, ifcpu_exceededreturnstrueyou should probs go readips_adjust(9)and friends. the whole turbo/limit squad is right there. iykyk π§
πΈ okay that's the page!! it lives in ./drivers/platform/x86 and it was last touched October 2026 β so go forth, vibe-check your cores, and stay under your limits fr fr ππ
π¦ 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