arch/s390/mm/dump_pagetables.c
Source file repositories/reference/linux-study-clean/arch/s390/mm/dump_pagetables.c
File Facts
- System
- Linux kernel
- Corpus path
arch/s390/mm/dump_pagetables.c- Extension
.c- Size
- 10155 bytes
- Lines
- 365
- Domain
- Architecture Layer
- Bucket
- arch/s390
- 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.
- Uses kernel synchronization; read lock ordering, sleepability, and interrupt context assumptions before translating.
- Allocates kernel memory; connect allocation flags and lifetime to context constraints.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/cpufeature.hlinux/set_memory.hlinux/ptdump.hlinux/seq_file.hlinux/debugfs.hlinux/sort.hlinux/mm.hlinux/kfence.hlinux/kasan.hasm/kasan.hasm/abs_lowcore.hasm/nospec-branch.hasm/sections.hasm/maccess.h
Detected Declarations
struct addr_markerstruct pg_statefunction print_protfunction note_prot_wxfunction note_page_update_statefunction note_pagefunction note_page_ptefunction note_page_pmdfunction note_page_pudfunction note_page_p4dfunction note_page_pgdfunction note_page_flushfunction ptdump_check_wxfunction ptdump_showfunction ptdump_cmpfunction add_markerfunction pt_dump_initmodule init pt_dump_init
Annotated Snippet
device_initcall(pt_dump_init);
Annotation
- Immediate include surface: `linux/cpufeature.h`, `linux/set_memory.h`, `linux/ptdump.h`, `linux/seq_file.h`, `linux/debugfs.h`, `linux/sort.h`, `linux/mm.h`, `linux/kfence.h`.
- Detected declarations: `struct addr_marker`, `struct pg_state`, `function print_prot`, `function note_prot_wx`, `function note_page_update_state`, `function note_page`, `function note_page_pte`, `function note_page_pmd`, `function note_page_pud`, `function note_page_p4d`.
- Atlas domain: Architecture Layer / arch/s390.
- 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.