Value of complete Linux kernel Annotation

Source: Internet
Author: User
Value of the Linux kernel fully annotated-Linux general technology-Linux programming and kernel information. The following is a detailed description. Dr. Zhao's "Linux kernel full note" focuses on a thorough understanding of the code of an existing practical operating system. It is suitable for reading many computer courses (such as assembly language programming, operating system principle, computer composition principle) want to truly understand the needs of a person who actually constructs an operating system. (The following is my comment on Linux kernel full comments.)

"Understanding the source code of an operating system requires a peaceful attitude, perseverance, and perseverance.

Let me talk about my experience. I have read APUE advanced programming in unix environment and debugged many examples.

The most mentioned in the book about how to write an application is "the kernel provides..." and many other programs are used to explore the behavior of the kernel when it handles some problems.

At the end of the course, although I used a lot of system calls, I also learned how linux provided services to us, and I knew exactly what we could do on the system platform. However, I feel more and more curious about how the kernel is capable of doing so many things?

I felt a strong curiosity about how the operating system works and turned to read the operating system principles book. I found that I could only see the flowers in the fog, what is better in this regard is that the complete "Operating System Design and Implementation" gives a minix operating system source code, which contains about lines of code, I feel that it is a micro-kernel first, which is somewhat different from the current linux.

Zhao Bo's book came out with a strong curiosity. He worked hard to read the source code and understood a lot of hardware-related things, I also know a lot about the protection mode. (In the undergraduate course, the assembly language program only talked about the actual mode, but not the protection mode) the more important thing is to know how our common system calls are implemented in the kernel to provide services to us, and then develop the application layer software or write the kernel module, we have a clear and clear understanding of the system, instead of taking the unix kernel as a large black hole, as a collection of system calls, kernel-specific system calls, and kernel symbols for our use, at a global level, it is quite different to understand programs, develop and Debug Programs, call only a few systems, and modify several makefiles.

I think the harvest should be that a system engineering stringes the principles and interfaces of the assembler language microcomputer, unix programming, and operating system principles learned in college, how can we make good use of these discrete knowledge in a real system? We should all have this experience. Many of the courses in undergraduate courses seem to be separated, the assembler focuses on assembly, and the operating system focuses on principles and scheduling (for example, semaphore programming, and philosophers have dinner). A computer-based teacher talks about some computer hardware, how can we organize these knowledge into a practical operating system that makes us happy to use every day? I don't know! This is a problem that I have been confused for many years. It can be said that you must read the source code of the operating system and understand it. At the same time, you must associate each part with some discrete knowledge given during the undergraduate course, we can have a deep understanding of computers!

I think the real gains should be this (of course, there are also the superb skills of linus for using C language, especially the memory management part)

Taking understanding and debugging linux0.11 as a big project, integrating the various computer knowledge learned during the undergraduate course into a huge system that is closely coupled with each other is the purpose of reading, debugging, and understanding the source code of linux0.11! "

The operating system is a graphic system, while our human cognitive system is linear. Therefore, to understand a graphic system, we need to examine many items from various perspectives, in order to have a deeper understanding.

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.