arch/powerpc/mm/numa.c
Source file repositories/reference/linux-study-clean/arch/powerpc/mm/numa.c
File Facts
- System
- Linux kernel
- Corpus path
arch/powerpc/mm/numa.c- Extension
.c- Size
- 36533 bytes
- Lines
- 1466
- Domain
- Architecture Layer
- Bucket
- arch/powerpc
- Inferred role
- Architecture Layer: exported/initcall integration point
- Status
- integration 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.
- Exports symbols or registers init work; inspect boot/module ordering and who consumes the exported contract.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/threads.hlinux/memblock.hlinux/init.hlinux/mm.hlinux/mmzone.hlinux/export.hlinux/nodemask.hlinux/cpu.hlinux/notifier.hlinux/of.hlinux/of_address.hlinux/pfn.hlinux/cpuset.hlinux/node.hlinux/stop_machine.hlinux/proc_fs.hlinux/seq_file.hlinux/uaccess.hlinux/slab.hasm/cputhreads.hasm/sparsemem.hasm/smp.hasm/topology.hasm/firmware.hasm/paca.hasm/hvcall.hasm/setup.hasm/vdso.hasm/vphn.hasm/drmem.h
Detected Declarations
struct assoc_arraysfunction setup_node_to_cpumask_mapfunction fake_numa_create_new_nodefunction reset_numa_cpu_lookup_tablefunction map_cpu_to_nodefunction unmap_cpu_from_nodefunction __associativity_to_nidfunction associativity_to_nidfunction __cpu_form2_relative_distancefunction __cpu_form1_relative_distancefunction cpu_relative_distancefunction __node_distancefunction of_node_to_nid_singlefunction of_node_to_nidfunction __initialize_form1_numa_distancefunction initialize_form1_numa_distancefunction update_numa_distancefunction initialize_form2_numa_distance_lookup_tablefunction find_primary_domain_indexfunction get_n_mem_cellsfunction read_n_cellsfunction of_get_assoc_arraysfunction get_nid_and_numa_distancefunction of_node_to_nid_singlefunction __vphn_get_associativityfunction smp_setup_cpu_mapsfunction vphn_get_nidfunction __vphn_get_associativityfunction vphn_get_nidfunction numa_setup_cpufunction verify_cpu_node_mappingfunction ppc_numa_cpu_preparefunction ppc_numa_cpu_deadfunction numa_enforce_memory_limitfunction read_usm_rangesfunction numa_setup_drmem_lmbfunction parse_numa_propertiesfunction for_each_node_by_typefunction for_each_node_by_namefunction setup_nonnumafunction for_each_mem_pfn_rangefunction dump_numa_cpu_topologyfunction for_each_online_nodefunction setup_node_datafunction find_possible_nodesfunction mem_topology_setupfunction for_each_possible_cpufunction initmem_init
Annotated Snippet
device_initcall(topology_update_init);
#endif /* CONFIG_PPC_SPLPAR */
Annotation
- Immediate include surface: `linux/threads.h`, `linux/memblock.h`, `linux/init.h`, `linux/mm.h`, `linux/mmzone.h`, `linux/export.h`, `linux/nodemask.h`, `linux/cpu.h`.
- Detected declarations: `struct assoc_arrays`, `function setup_node_to_cpumask_map`, `function fake_numa_create_new_node`, `function reset_numa_cpu_lookup_table`, `function map_cpu_to_node`, `function unmap_cpu_from_node`, `function __associativity_to_nid`, `function associativity_to_nid`, `function __cpu_form2_relative_distance`, `function __cpu_form1_relative_distance`.
- Atlas domain: Architecture Layer / arch/powerpc.
- Implementation status: integration 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.