Posts

Showing posts with the label init_task

Is init process the first process in Linux?

Answer is No. PID of init is 1. PID of scheduler is 0. It is created thru init_task function. Then scheduler forks (i.e. using fork()) init process. And so init forks other processes.