Linux Kernel Learning Summary

Source: Internet
Author: User

Understanding of a pair of Linux systems

At first I didn't know much about the Linux system, and I felt too troublesome to do the operation against the code. But when I was familiar with the command of Linux, I felt a sense of accomplishment, and his openness and security deeply attracted me, especially its portability, whether it is handheld computer or ordinary computer can be installed on Linux, it is very widely used. I think the basic idea of Linux has two points: first, everything is a document; second, every software has a definite purpose. The first article in detail is that everything in the system boils down to a file, including commands, hardware and software devices, operating systems, processes, and so on for the operating system kernel, all of which are considered to have their own attributes or types of files. Linux is Unix-based, largely because of the similarity between the two basic ideas.

Learn about the Linux kernel

Linux is an integrated kernel system. "Kernel" refers to a hardware abstraction layer, disk and file system control, multi-tasking and other functions of the system software. The Linux kernel implements a number of important architectural attributes. At a high or low level, the kernel is divided into multiple subsystems. Mainly include:

System Call Interface

function calls are performed primarily from user space to the kernel.

Process Management

Process management focuses on the execution of processes, and also includes the need to handle the sharing of CPUs between active processes.

Memory management

The key resources managed by the kernel are memory.

Virtual file system

The virtual file system is a very useful aspect of the Linux kernel because it provides a common interface abstraction for the file system. VFS provides a switching layer between the SCI and the file systems supported by the kernel.

These are some of my own understanding of the kernel, including a lot of details, the kernel is not the entire operating system, but it is the core of the entire Linux, like the brain, the control of the entire system operation.

We can not simply through a code or a program to learn, but to macro through their own understanding, to learn the whole process.

Three Blog Job Directory list

By compiling a simple C program, analyze the assembly code to understand how the computer works: http://www.cnblogs.com/kryst4l/p/5225254.html

Complete a simple time slice rotation multi-channel program kernel code: http://www.cnblogs.com/kryst4l/p/5247136.html

Trace analysis of the boot process of the Linux kernel: http://www.cnblogs.com/kryst4l/p/5269527.html

Use the same system call using the Library function API and the embed assembly code in C code: http://www.cnblogs.com/kryst4l/p/5297908.html

System_call Interrupt Handling Process: http://www.cnblogs.com/kryst4l/p/5325568.html

Analyzing the process of creating a new process for the Linux kernel: http://www.cnblogs.com/kryst4l/p/5341791.html

How the Linux kernel loads and launches an executable program: http://www.cnblogs.com/kryst4l/p/5372200.html

Understanding process scheduling timing and process switching processes: http://www.cnblogs.com/kryst4l/p/5387004.html

Four lessons on Linux learn the biggest gains

I learned a lot from learning the whole course, not just by learning how to run the computer through assembly language, but also by being familiar with Linux commands that were unfamiliar to me, and now using Linux more handy than ever before. The main learning method is to read the code to understand the entire operating system, which is not only learning Linux, learning other operating systems or machine language can be used. In the end, especially in the form of blogging this habit, let me know that knowledge is not only need to learn, more important is to review and summarize. Wen Xin, this habit allows us to know more about the previous knowledge, rather than learn a little forget, to the end can really learn knowledge.

Five learning Linux biggest regret

Learning Linux The biggest regret is not the online courses and their own purchase of textbooks linked together, as if in the last two classes, the knowledge can not be assimilated, can only stay in the stage of understanding, for knowledge can not be applied.

Linux Kernel Learning Summary

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.