apm_cpu_idle(9)
β¨ apm_cpu_idle(9) β¨
okay so bestie, welcome to apm_cpu_idle(9) β the kernel API manual page you didn't know you needed π«Ά this is the tea on cpu idling for APM capable Linux, and yes it's as niche as it sounds and yes we're gonna get through it together π
πΈ NAME πΈ
apm_cpu_idle β cpu idling for APM capable Linux
like, literally what it says on the tin β¨
π SYNOPSIS π
int apm_cpu_idle (struct cpuidle_device *dev , struct cpuidle_driver
*drv , int index );
three args, one int coming back at you, no cap π§
π ARGUMENTS π
okay so the docs are lowkey giving nothing here, but here's the roster:
devβ-- undescribed --π the manual really said "figure it out yourself" for this onedrvβ-- undescribed --π same energy, bestieindexβ-- undescribed --π yeahβ¦ all three are officially undescribed, not me making that up, that's literally what the page says
ngl this section is giving mystery box π but we respect the honesty
π₯ DESCRIPTION π₯
This is the idling function the kernel executes when APM is available. π«‘
It tries to do BIOS powermanagement based on the average system idle time. π iconic behaviour honestly
Furthermore it calls the system default idle routine. π so it's doing the APM thing and the regular thing, main character energy fr fr
π¦ SEE ALSO π¦
Kernel file ./arch/x86/kernel/apm_32.c β and here's the whole friend group, no one left behind π:
apm_error(9)__apm_bios_call(9)apm_bios_call(9)__apm_bios_call_simple(9)apm_bios_call_simple(9)apm_driver_version(9)apm_get_event(9)set_power_state(9)set_system_power_state(9)apm_do_idle(9)apm_do_busy(9)apm_power_off(9)apm_enable_power_management(9)apm_get_power_status(9)apm_engage_power_management(9)apm_console_blank(9)
π little sign-off from your girl: this page lives under ./arch/x86/kernel and it's dated October 2026 β go read the whole squad, they're all waiting for you. stay idle, stay slay π
β¨
π¦ 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