当前位置:网站首页>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号进程
是一个内核进程,是所有内核进程的祖先

边栏推荐
- 直接修改/etc/crontab 文件内容,定时任务不生效
- Index +sql exercise optimization
- Five basic types of redis
- 05 观察者(Observer)模式
- Redis五种基本类型
- SIG associé: toutes les routes mènent à ue5
- UE5神通--POI解决方案
- Coggle 30 days of ML July competition learning
- (resolved) the following raise notimplementederror occurs when Minet tests
- 游戏资产复用:更快找到所需游戏资产的新方法
猜你喜欢

UE5神通--POI解决方案

PayPal account has been massively frozen! How can cross-border sellers help themselves?

Refer to | the computer cannot access the Internet after the hotspot is turned on in win11

vim 从嫌弃到依赖(19)——替换

JVM常见的垃圾收集器

即构「畅直播」,全链路升级的一站式直播服务

Lvgl GUI guide porting code to stm32

2022 love analysis · panoramic report of it operation and maintenance manufacturers

oracle用一条sql查出哪些数据不在某个表里

Blind survey shows that female code farmers are better than male code farmers
随机推荐
【11. 二维差分】
Correctly understand MySQL mvcc
Linux下Redis的安装
c的时间函数算效率
Pin details in rust
MySQL about auto increment sum cannot be empty
SQL attendance query interval: one hour
Is futures reverse documentary reliable?
Time function calculation efficiency of C
直接修改/etc/crontab 文件内容,定时任务不生效
Redis的事务
盲测调查显示女码农比男码农更优秀
[batch dos-cmd command - summary and summary] - parameters%0,%1,%2,%[0-9],%0-9 in the batch command and batch command parameter position switching command shift, operator% usage in the DOS command
SPARQL基础入门练习
Redis master-slave replication and sentinel mode
(resolved) the following raise notimplementederror occurs when Minet tests
Helix QAC is updated to 2022.1 and will continue to provide high standard compliance coverage
JS EventListener
Etcd教程 — 第五章 Etcd之etcdctl的使用
Eight misunderstandings, broken one by one (final): the cloud is difficult to expand, the customization is poor, and the administrator will lose control?