[Android knowledge notes] system process (1)

What are the Android system processes

First come to an overall structure diagram to understand the process structure layout of the Android system from a macro perspective:

insert image description here

Here we briefly summarize:

  • The first process of the system is actually process 0 (also called swapper process/Idle process)

  • Process No. 0 forks out Process No. 1 ( init process) and Process No. 2 ( kthreadd process)

  • Process No. 1 is the ancestor of all normal user processes, and Process No. 2 is the ancestor of all kernel processes

  • Process No. 1 then forked out Zygote process, ServiceManager process, MediaServer process, Daemons daemon process and other processes

  • Zygote process

Guess you like

Origin blog.csdn.net/lyabc123456/article/details/131667063