Linux 2.6 source code learning-Overview

Source: Internet
Author: User

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:

  1. For more information, see kernel, scenario analysis, Kernel Analysis, and programming. The version is 2.6.11;
  2. Perform code walk-through on the main content of Linux, and output blog posts. The category of walk-through content is as follows;
  3. 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;

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.