I. Understanding of Linux systems and learning about the Linux kernel
in the course of nearly two months of learning, followed by Monensin Teacher's study, gradually to Linux generated a general understanding, (not only the kernel knowledge point itself, but also including learning methods, learning direction, have some preliminary ideas).
Content: What you have learned is as follows (the idea of stringing together the knowledge points)
(1) Why core-to-core work is required--build a Linux system, download the kernel on the system, configure the compilation, and more--the use of GCC in Linux, Gdb,bash Shell,vim, etc.--
(2) The concept of the process--process descriptors (information that the kernel needs to know about the process runtime)--process creation (manually created and through system calls)--what is a system call, a system call of three layers of skin-to-
(3) interrupts and interrupts similar to system calls--process running state (five states, state switching method)--transitions between processes (including process scheduling related knowledge points, such as schedule () functions, etc.)--
(4) The executable program is reproduced and started (Critical exec () system call)--and the relevant knowledge is understood by the example of entering the LS command on the console.
Two. Blog Job list
The first week of 1.linux kernel analysis-Understand how computers work by analyzing assembly code http://www.cnblogs.com/baka/p/5224797.html
2.linux Kernel Analysis second week-complete a simple time slice rotation multi-channel program kernel code http://www.cnblogs.com/baka/p/5247344.html
3.linux Kernel Analysis third week-track the startup process of the Linux kernel http://www.cnblogs.com/baka/p/5268075.html
4.linux Kernel Analysis Week fourth-use the same system call http://www.cnblogs.com/baka/p/5294327.html using the Library function API and the embed assembly code in C code
5.linux Kernel Analysis Week fifth-analysis of system_call interrupt processing process http://www.cnblogs.com/baka/p/5322850.html
6.linux Kernel Analysis Week sixth-analyzing the process of creating a new process for the Linux kernel http://www.cnblogs.com/baka/p/5341518.html
7.linux Kernel analysis Seventh week-linux how the kernel loads and launches an executable program http://www.cnblogs.com/baka/p/5372272.html
8.linux Kernel Analysis Week eighth-understanding process scheduling and tracking analysis process scheduling and process switching process http://www.cnblogs.com/baka/p/5386941.html
Three. Harvest and regret
The teacher said in class, the specific implementation of Linux code a lot of details are many, if you look directly at the code, it is easy to fall into the details and ignore the backbone, you should look at the code before, think and find out the code wants to implement the basic framework of the function, the heart with the framework to study the code, In the specific code of the study to correct their own understanding deviation and error. It's also easy to grab the trunk.
Learning at the same time to do, the teacher every time the assignment, in the process of completion of the work, there are many tasks must be completed in the Linux platform, such as gdb debugging, download kernel and compile the kernel and so on, will learn to use, oneself can also have a deeper understanding of the class knowledge.
After self-study, the process address space, memory management and other knowledge does not have a good understanding (should be the knowledge of it), so in the understanding of the program loading, process context switch, interrupt context switch and other related address, memory knowledge points of things, understanding is very laborious, if the teacher can in these areas to have a nudge on the good. Perhaps because oneself is not the computer profession, did not learn the operating system and the computer composition principle related knowledge, but then still will earnestly study the related knowledge.
Linux Kernel Learning Summary