Process 0

Creator
Creator
Seonglae ChoSeonglae Cho
Created
Created
2021 Dec 9 1:23
Editor
Edited
Edited
2023 Oct 24 12:44
Refs
Refs

Swapper

  • The ancestor of all processes, created during the initialization phase of Linux by the start_kernel() function
  • Initializes all the data structures needed by the kernel, enables interrupts, and creates another kernel thread
  • After creating the init process, process 0 executes the cpu_idle() function, repeatedly executing the hlt instruction.
  • Process 0 is selected by the scheduler only when there are no other processes in the TASK_RUNNING state.
  • On systems with multiple CPUs, there is process 0 for each CPU.
Process 0 Notion
 
 
 
 
 
 
 
 
 

Recommendations