Linux Kernel User-space Process – Introduction, struct task_struct, virtual memory, IPC, etc
Refer:Linux Kernel Source:struct task_struct data-structure ↗Task state bitmask flags – tsk->state ↗struct task_struct instance example1: TASK_RUNNING, TASK_INTERRUPTIBLE, TASK_UNINTERRUPTIBLE, TASK_STOPPED ↗struct task_struct instance example2: struct task_struct *p – p->state == TASK_RUNNING…