kernel/cpu_pm.c
Source file repositories/reference/linux-study-clean/kernel/cpu_pm.c
File Facts
- System
- Linux kernel
- Corpus path
kernel/cpu_pm.c- Extension
.c- Size
- 6122 bytes
- Lines
- 210
- Domain
- Core OS
- Bucket
- Scheduler, Processes, Timers, Sync, And Syscalls
- Inferred role
- Core OS: exported/initcall integration point
- Status
- integration implementation candidate
Why This File Exists
Core operating-system implementation surface: boot, tasks, memory, VFS, syscall-facing interfaces, synchronization, credentials, and isolation.
- Core operating-system implementation surface: boot, tasks, memory, VFS, syscall-facing interfaces, synchronization, credentials, and isolation.
- Exports symbols or registers init work; inspect boot/module ordering and who consumes the exported contract.
- Uses kernel synchronization; read lock ordering, sleepability, and interrupt context assumptions before translating.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/kernel.hlinux/cpu_pm.hlinux/module.hlinux/notifier.hlinux/spinlock.hlinux/syscore_ops.h
Detected Declarations
function cpu_pm_notifyfunction cpu_pm_notify_robustfunction cpu_pm_register_notifierfunction cpu_pm_unregister_notifierfunction cpu_pm_enterfunction cpu_pm_exitfunction cpu_cluster_pm_enterfunction cpu_cluster_pm_exitfunction cpu_pm_suspendfunction cpu_pm_resumefunction cpu_pm_initmodule init cpu_pm_initexport cpu_pm_register_notifierexport cpu_pm_unregister_notifierexport cpu_pm_enterexport cpu_pm_exitexport cpu_cluster_pm_enterexport cpu_cluster_pm_exit
Annotated Snippet
core_initcall(cpu_pm_init);
#endif
Annotation
- Immediate include surface: `linux/kernel.h`, `linux/cpu_pm.h`, `linux/module.h`, `linux/notifier.h`, `linux/spinlock.h`, `linux/syscore_ops.h`.
- Detected declarations: `function cpu_pm_notify`, `function cpu_pm_notify_robust`, `function cpu_pm_register_notifier`, `function cpu_pm_unregister_notifier`, `function cpu_pm_enter`, `function cpu_pm_exit`, `function cpu_cluster_pm_enter`, `function cpu_cluster_pm_exit`, `function cpu_pm_suspend`, `function cpu_pm_resume`.
- Atlas domain: Core OS / Scheduler, Processes, Timers, Sync, And Syscalls.
- Implementation status: integration implementation candidate.
- Synchronization appears in or near this file; preserve lock ordering, sleepability, and interrupt-context constraints.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.