cpu_pm_register_notifier(9)
β¨ NAME β¨
Okay so bestie, welcome to cpu_pm_register_notifier(9), fresh from the Kernel API Manual β it's literally the function for registering a driver with cpu_pm, and the group chat is thriving. π
π οΈ SYNOPSIS π οΈ
int cpu_pm_register_notifier (struct notifier_block *nb );
π ARGUMENTS π
nbβ the notifier block to register, bestie. That's thestruct notifier_block *hanging out in the synopsis; it's the thing getting signed up. π«Ά
π₯ DESCRIPTION π₯
So what does it do? It adds a driver to a list of drivers that are notified about CPU and CPU cluster low power entry and exit. That's the whole vibe: CPU and CPU cluster low power entry and exit, notifications included. β‘
Return conditions? This function has the same return conditions as raw_notifier_chain_register β like, identical return conditions, no cap. π
π¦ SEE ALSO π¦
- Kernel file
./kernel/cpu_pm.c cpu_pm_unregister_notifier(9)cpu_pm_enter(9)cpu_pm_exit(9)cpu_cluster_pm_enter(9)cpu_cluster_pm_exit(9)
Brought to you by the source ./kernel and the date October 2026 β mwah, kisses, and happy notifier registering ππ
π¦ 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