arch/x86/entry/thunk.S
Source file repositories/reference/linux-study-clean/arch/x86/entry/thunk.S
File Facts
- System
- Linux kernel
- Corpus path
arch/x86/entry/thunk.S- Extension
.S- Size
- 529 bytes
- Lines
- 16
- Domain
- Architecture Layer
- Bucket
- arch/x86
- 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.
Dependency Surface
linux/export.hlinux/linkage.hcalling.hasm/asm.h
Detected Declarations
export preempt_schedule_thunkexport preempt_schedule_notrace_thunk
Annotated Snippet
#include <linux/export.h>
#include <linux/linkage.h>
#include "calling.h"
#include <asm/asm.h>
THUNK preempt_schedule_thunk, preempt_schedule
THUNK preempt_schedule_notrace_thunk, preempt_schedule_notrace
EXPORT_SYMBOL(preempt_schedule_thunk)
EXPORT_SYMBOL(preempt_schedule_notrace_thunk)
Annotation
- Immediate include surface: `linux/export.h`, `linux/linkage.h`, `calling.h`, `asm/asm.h`.
- Detected declarations: `export preempt_schedule_thunk`, `export preempt_schedule_notrace_thunk`.
- Atlas domain: Architecture Layer / arch/x86.
- 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.