Linux Kernel Analysis Interim summary
20135307 together
First, the Linux kernel Analysis Course Summary Study notes Summary
How the first section of the computer works
How the second section of the operating system works
The third section constructs a simple Linux system menuos
The fourth section of the system called Three layers of skin (top)
The fifth section of the system calls three layers of skin (bottom)
Section Sixth description of the process and creation of the process
Seventh. Loading of executable programs
Section eighth process switching and general execution process
Understand how a computer works
- According to the von Neumann architecture, the computer can be analyzed from two angles of hardware and software, the hardware is more complicated, not only the CPU and various storage devices, but also the running service of the CPU. CPU through the implementation of the bus transmission of a variety of instructions to complete the work, through a variety of built-in software to "translate" the command into machine-readable instructions, the process of executing instructions is constantly in the register to store, revoke data, and finally complete the "computational process."
Understand how the operating system works
- The operating system also has "two Swords", which are the interrupt context and the process context switch. The operating system is tasked with basic tasks such as managing and configuring memory, prioritizing system resource supply and demand, controlling input and output devices, operating networks, and managing file systems. The operating system through the control of the process to complete each thing, the process through the control of data compression, pop-up stack, set a time slice and other ways to switch and interrupt the process context, so that the operating system can work properly
Understanding the Linux system startup process
- Startkernel is the starting point of the kernel startup and exists in the Main.c file in the init directory. InitKernel is the pcb,0 process that was created by hand, which is the final idle. Regardless of which part of the analysis kernel involves the startkernel, the initialization of the module requires a call to startkernel. In the startkernel the last sentence of restInit is the No. 0 process that Start_kernel has been in since the kernel was started, and process No. 0 created the 1th process and other kernel service threads. The idle process is dispatched when there is no incoming program in the system, that is, a kernel starts with a NO. 0 process, process No. 0 creates a 1th process, a process creates another process and thread, a lifetime of two, and the second birth three, Sansheng everything, the system kernel starts
Second, "Linux kernel kernel design and implementation" knowledge points summary Reading notes summary
Chapter One introduction to the Linux kernel
Fifth Chapter system call
Chapter III Process Management
18th Chapter Commissioning
"In-depth understanding of computer Systems" chapter seventh links
Fourth Chapter process scheduling
Iii. lessons learned and deficiencies
Through the MOOC and experiments and the supplementary content in the classroom, I have a certain understanding of the Linux kernel, although the basic knowledge of the past is not solid, but this easy-to-understand way let me accept the lectures more quickly, after each explanation will have the corresponding experiments, timely practice, better grasp. Although often mistakes in the experiment, but repeated attempts to harvest more, I will continue to try to use the MOOC environment to learn the relevant knowledge.
"Linux kernel Analysis" interim summary