Linux 2.6 is the mainstream operating system kernel and has always wanted to spend time studying the system. Review previous kernel source code experiences. As an embedded operating system, UCOSCodeNo more than 5 K, if an engineer with R & D experience and basic operating system can go through it in 2 or 3 weeks. Linux 0.11 requires a lot of complexity. Although the code line does not exceed 15 kb, and the size of a single file does not exceed 1 kb (the image size is 7,800 ), however, due to the protection mode, device drivers, file systems, segment-based memory management, and the addition of a large number of assembly code, it is more difficult to understand than UCOS, and I think it takes about five times. Thanks to Dr. Zhao's complete analysis and sincere admiration for such meticulous technology.
I originally thought it would be much easier to analyze UCOS and Linux 0.11 in version 2.6, but it was cool to open the code. Not to mention that the total amount of code is counted as 100,000, so a reschedule. c file goes on for 10 K, and its code implementation (considering multi-CPU support and multi-core) is also complicated. For the source code of this version, even if the CPU Structure, various types of drivers, network protocols, and various file systems are removed, the workload of the source code cannot be as full as that of Linux 0.11. Therefore, the goal of this year's plan is as follows:
- For more information, see kernel, scenario analysis, Kernel Analysis, and programming. The version is 2.6.11;
- Perform code walk-through on the main content of Linux, and output blog posts. The category of walk-through content is as follows;
- The KVM virtualization part is a key learning object (this part is not supported in 2.6.11. For details, refer to 2.6.43), and strive to achieve full source code analysis;