include/linux/cpuhotplug.h
Source file repositories/reference/linux-study-clean/include/linux/cpuhotplug.h
File Facts
- System
- Linux kernel
- Corpus path
include/linux/cpuhotplug.h- Extension
.h- Size
- 17301 bytes
- Lines
- 527
- Domain
- Core OS
- Bucket
- Core Kernel Interface
- Inferred role
- Core OS: implementation source
- Status
- source 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.
- Touches IRQ or DMA behavior; this matters for the representative real-device path.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/types.h
Detected Declarations
struct task_structenum cpuhp_statefunction cpuhp_setup_statefunction cpuhp_setup_statefunction cpuhp_setup_statefunction cpus_read_lockfunction cpuhp_state_add_instancefunction cpuhp_setup_state_multifunction cpuhp_state_add_instance_nocallsfunction cpus_read_lockfunction cpuhp_remove_statefunction cpuhp_remove_state_nocallsfunction cpus_read_lockfunction cpuhp_setup_state_multifunction cpuhp_state_remove_instancefunction cpuhp_state_remove_instance_nocallsfunction cpuhp_online_idlefunction cpuhp_ap_report_dead
Annotated Snippet
static inline void cpuhp_online_idle(enum cpuhp_state state) { }
#endif
struct task_struct;
void cpuhp_ap_sync_alive(void);
void arch_cpuhp_sync_state_poll(void);
void arch_cpuhp_cleanup_kick_cpu(unsigned int cpu);
int arch_cpuhp_kick_ap_alive(unsigned int cpu, struct task_struct *tidle);
bool arch_cpuhp_init_parallel_bringup(void);
#ifdef CONFIG_HOTPLUG_CORE_SYNC_DEAD
void cpuhp_ap_report_dead(void);
void arch_cpuhp_cleanup_dead_cpu(unsigned int cpu);
#else
static inline void cpuhp_ap_report_dead(void) { }
static inline void arch_cpuhp_cleanup_dead_cpu(unsigned int cpu) { }
#endif
#endif
Annotation
- Immediate include surface: `linux/types.h`.
- Detected declarations: `struct task_struct`, `enum cpuhp_state`, `function cpuhp_setup_state`, `function cpuhp_setup_state`, `function cpuhp_setup_state`, `function cpus_read_lock`, `function cpuhp_state_add_instance`, `function cpuhp_setup_state_multi`, `function cpuhp_state_add_instance_nocalls`, `function cpus_read_lock`.
- Atlas domain: Core OS / Core Kernel Interface.
- Implementation status: source implementation candidate.
- IRQ or DMA behavior appears here, which is relevant to the selected PCIe/NVMe device path.
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.