.The task struct, referred to as PCB, contains all information about the process such as the PID, state , priority , scheduling information, and pointers to memory and file descriptor tables. The storage is allocated by the alloc_task_struct function. It allocates memory for a new task_struct. This function initializes the basic fields and ensures that the structure is properly aligned in the memory.