当前位置:网站首页>0号进程,1号进程,2号进程
0号进程,1号进程,2号进程
2022-06-27 08:14:00 【KingOfMyHeart】
0号进程
是一个内核进程,是所有进程的祖先,也叫做swapper进程。
主要作用:
执行start_kernel()函数,初始化内核需要的所有数据结构,激活中断,创建1号内核进程(init进程)。
只有当没有可运行的进程的时候,才会运行0号进程,0号进程不是一个实实在在可见的进程,它
是单用户,单任务的系统启动代码
1号进程
由0号进程创建的1号进程,pid=1,1号进程共享0号进程的所有的数据结构。
1号进程一开始是内核进程,先执行init()函数完成内核初始化,然后调用exec()装入可执行程序init(),这样
init就变成可一个普通进程,1号进程也叫做systemed进程,是所有普通进程的父亲,所有普通进程由它创建。
在系统关闭之前,init进程一直存活,因为它创建和监控在操作系统外层执行的所有进程的活动。
2号进程
是一个内核进程,是所有内核进程的祖先

边栏推荐
猜你喜欢

(note) Anaconda navigator flashback solution

Lvgl usage demo and instructions 2

100% understanding of 5 IO models

MySQL index details
![[batch dos-cmd command - summary and summary] - output / display command - echo](/img/44/cddad70eeb756db15c19100c25c61a.png)
[batch dos-cmd command - summary and summary] - output / display command - echo

Code source AQS sous - jacent pour la programmation simultanée juc

Zabbix部署说明(Server+Win客户端+交换机(H3C))

JVM common garbage collector

c#的初步认识

Binary tree structure and heap structure foundation
随机推荐
Persistence mechanism of redis
[batch dos-cmd command - summary and summary] - how to distinguish the internal command and external command of CMD, and the difference between CMD command and run (win+r) command,
[11. two dimensional difference]
Lvgl GUI guide porting code to stm32
University database mysql
MySQL environment variable configuration tutorial
安装jenkins
oracle用一条sql查出哪些数据不在某个表里
vim 从嫌弃到依赖(19)——替换
Helix QAC更新至2022.1版本,将持续提供高标准合规覆盖率
Mapping of Taobao virtual product store opening tutorial
並發編程JUC的AQS底層源碼
2022.6.26-----leetcode.710
關聯GIS:條條道路通UE5城
MySQL索引详解
粗读DS-TransUNet: Dual Swin Transformer U-Net for Medical Image Segmentation
Redis的事务
SIG associé: toutes les routes mènent à ue5
"Short video" Linxia fire rescue detachment carries out fire safety training
[batch dos-cmd command - summary and summary] - environment variables, path variables, search file location related instructions - set, path, where, what if there are spaces in the path parameters of