include/linux/thread_info.h
Source file repositories/reference/linux-study-clean/include/linux/thread_info.h
File Facts
- System
- Linux kernel
- Corpus path
include/linux/thread_info.h- Extension
.h- Size
- 6912 bytes
- Lines
- 239
- 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.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/types.hlinux/limits.hlinux/bug.hlinux/restart_block.hlinux/errno.hasm/current.hlinux/bitops.hasm/thread_info.h
Detected Declarations
enum syscall_work_bitfunction set_restart_fnfunction set_ti_thread_flagfunction clear_ti_thread_flagfunction update_ti_thread_flagfunction test_and_set_ti_thread_flagfunction test_and_clear_ti_thread_flagfunction test_ti_thread_flagfunction read_ti_thread_flagsfunction tif_test_bitfunction tif_test_bitfunction tif_need_reschedfunction arch_within_stack_framesfunction arch_setup_new_exec
Annotated Snippet
static inline void arch_setup_new_exec(void) { }
#endif
void arch_task_cache_init(void); /* for CONFIG_SH */
void arch_release_task_struct(struct task_struct *tsk);
int arch_dup_task_struct(struct task_struct *dst,
struct task_struct *src);
#endif /* __KERNEL__ */
#endif /* _LINUX_THREAD_INFO_H */
Annotation
- Immediate include surface: `linux/types.h`, `linux/limits.h`, `linux/bug.h`, `linux/restart_block.h`, `linux/errno.h`, `asm/current.h`, `linux/bitops.h`, `asm/thread_info.h`.
- Detected declarations: `enum syscall_work_bit`, `function set_restart_fn`, `function set_ti_thread_flag`, `function clear_ti_thread_flag`, `function update_ti_thread_flag`, `function test_and_set_ti_thread_flag`, `function test_and_clear_ti_thread_flag`, `function test_ti_thread_flag`, `function read_ti_thread_flags`, `function tif_test_bit`.
- Atlas domain: Core OS / Core Kernel Interface.
- 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.