Process Management
Overview
Process management handles the creation, scheduling, and termination of processes. Every process is represented by a task_struct in the kernel.
Key Concepts
fork()/clone(): create new processes or threads.exec(): replace a process image with a new program.- Scheduling: the kernel decides which
task_structruns on which CPU. - Process states: running, sleeping (interruptible/uninterruptible), stopped, zombie.