task_struct relationship with kernel stack
Ever wondered how Linux tracks the currently running process? 🐧
This diagram breaks down the relationship between
- task_struct
- thread_info
- thread_struct
- per task stack pointer
- struct pt_regs
and the per-process kernel stack across architectures like x86_64, ARM64, and PPC64. A neat peek under the kernel hood!"