PCB Task Struct 💲

DownloadDOWNLOAD (Mirror #1)


PCB Task Struct

In the Linux kernel, each process is represented by a task_struct structure in a bilinked list, the head of which is init_task (pid 0, not pid 1). When a process creates a task, it allocates two new members in this structure: task_task_struct.pid_task_name (pid 0), which defines the task name, and task_task_struct.id_task_name (pid 1). In accordance with the requirements for
of task identification, specified in init.d, it is necessary to specify, that in addition to the process identifier, the task name must also necessarily contain the distribution version.
If this condition is not met, the execution of distribution-related jobs is not guaranteed.