摘要
论文通过对Linux内核源代码的分析得出了80×86平台上Linux内核启动的工作原理,对主要的三个相关源程序文件进行了深入分析和较为细致的阐述。同时也从源代码的角度详细分析了Linux内核的第一个特殊进程(0号进程)是如何被创建与运行起来的。以便让读者对Linux内核的启动机制有较为全面的了解。该分析有助理解Linux内核启动过程,同时有助于对cpu工作模式切换和分页机制的理解,为后面进一步深入理解Linux内核支持多任务的工作原理和虚拟存储器的实现机制奠定理论基础,是进一步对Linux内核的核心模块进行优化的前期工作。
This paper analyzes the source code of Linux kernel and draws the working principle of Linux kernel's startup on 80×86 platform.The main three related source program files are analyzed in detailed and elaborated.At the same time,it also ana⁃lyzes in detail how the first special process of the Linux kernel(process 0)is created and ran from the perspective of source code.This analysis helps to understand the Linux kernel boot process,and helps to understand the cpu working mode switching and pag⁃ing mechanism.It lays a theoretical foundation for further understanding of the working principle of the Linux kernel supporting mul⁃titasking and the implementation mechanism of virtual memory,which is the preliminary work for optimizing the core modules of the Linux kernel.
作者
徐晨升
张琼声
孟祥奎
XU Chensheng;ZHANG Qiongsheng;MENG Xiangkui(College of Computer&Communication Engineering,China University of Petroleum(East China),Qingdao 266580)
出处
《计算机与数字工程》
2020年第11期2691-2696,共6页
Computer & Digital Engineering