arch/x86/include/asm/numa.h
Source file repositories/reference/linux-study-clean/arch/x86/include/asm/numa.h
File Facts
- System
- Linux kernel
- Corpus path
arch/x86/include/asm/numa.h- Extension
.h- Size
- 1854 bytes
- Lines
- 71
- Domain
- Architecture Layer
- Bucket
- arch/x86
- Inferred role
- Architecture Layer: implementation source
- Status
- source implementation candidate
Why This File Exists
CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.
- CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.
Dependency Surface
linux/nodemask.hlinux/errno.hasm/topology.hasm/apicdef.h
Detected Declarations
function set_apicid_to_nodefunction set_apicid_to_nodefunction numa_set_node
Annotated Snippet
static inline void numa_set_node(int cpu, int node) { }
static inline void numa_clear_node(int cpu) { }
static inline void init_cpu_to_node(void) { }
static inline void numa_add_cpu(unsigned int cpu) { }
static inline void numa_remove_cpu(unsigned int cpu) { }
static inline void init_gi_nodes(void) { }
static inline int num_phys_nodes(void)
{
return 1;
}
#endif /* CONFIG_NUMA */
#ifdef CONFIG_DEBUG_PER_CPU_MAPS
void debug_cpumask_set_cpu(unsigned int cpu, int node, bool enable);
#endif
#endif /* _ASM_X86_NUMA_H */
Annotation
- Immediate include surface: `linux/nodemask.h`, `linux/errno.h`, `asm/topology.h`, `asm/apicdef.h`.
- Detected declarations: `function set_apicid_to_node`, `function set_apicid_to_node`, `function numa_set_node`.
- Atlas domain: Architecture Layer / arch/x86.
- Implementation status: source implementation candidate.
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.