cpu_cluster_pm_enter(9)
β¨ cpu_cluster_pm_enter(9) β¨
okay so this is a page from the Kernel API Manual and honestly? it's kind of a big deal. bestie, we're talking about cpu_cluster_pm_enter β the CPU cluster low power entry notifier. π
π NAME π
cpu_cluster_pm_enter β the CPU cluster low power entry notifier. that's it, that's the vibe. π¦
πΈ SYNOPSIS πΈ
int cpu_cluster_pm_enter (void );
β¨ ARGUMENTS β¨
voidβ no arguments. nothing. zero. she takes nothing and she gives everything. π«Ά
π DESCRIPTION π
so what she does is notify all the listeners that every single cpu in a power domain is heading into a low power state β and heads up, that state might cause some of the blocks in that same power domain to reset. π lowkey stressful but that's the assignment.
here's the timing, and it's strict, no cap:
- you must call this after
cpu_pm_enterhas been called on all cpus in the power domain, and - before
cpu_pm_exithas been called on any cpu in the power domain.
the drivers getting notified can include the VFP co-processor, the interrupt controller and its PM extensions, and local CPU timers doing context save/restore β all stuff that genuinely shouldn't be interrupted. so yeah, hence it must be called with interrupts disabled. π₯
Must be called with interrupts disabled. (yes, again. she's serious. this is not a drill, bestie. π¨)
return conditions are the same as __raw_notifier_call_chain. iykyk. β
π§ SEE ALSO π§
- Kernel file
./kernel/cpu_pm.c cpu_pm_register_notifier(9)cpu_pm_unregister_notifier(9)cpu_pm_enter(9)cpu_pm_exit(9)cpu_cluster_pm_exit(9)
go read those too, they're the whole friend group. π
and that's the page!! π this iconic little number lives in ./kernel and it's dated October 2026 β yes, from the future, main character energy fr fr. bye bestie, stay interrupt-disabled ππ
π¦ 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