Linux Kernel features

Source: Internet
Author: User
Linux Kernel features-general Linux technology-Linux programming and kernel information. For more information, see the following section. 1.3.1 Linux kernel features
Linux is a Unix operating system on PCs and workstations. However, it is by no means a simplified Unix. On the contrary, Linux is a powerful and innovative Unix operating system. It not only inherits the characteristics of Unix, but also surpasses Unix in many aspects. As a Unix operating system, Linux kernel has the following basic features:
1. the Linux kernel is organized in an integral structure. That is to say, the entire Linux kernel is composed of many processes, each of which can be compiled independently, and then connected together with a connection program to become a separate target program. From the perspective of information hiding, she does not hide it to any extent-each process is visible to other processes. This structure features a simple internal structure and easy access between subsystems. Therefore, the kernel is highly efficient. In addition, the process-based structure also helps different people to participate in the development of different processes. From this perspective, the Linux kernel is an open structure that allows anyone to correct, improve, and improve it.
2. The process scheduling method in Linux is simple and effective. It can be said that the efficiency of Linux is tireless, And the scheduling method is also unique. Linux uses a simple dynamic priority scheduling mode for user processes, and uses a unique mechanism-Soft Interrupt mechanism for routines in the kernel (such as device drivers and interrupt service programs, this mechanism ensures the efficient operation of kernel routines.
3. Linux supports kernel threads (or daemon processes ). A kernel thread is a process that runs in the background without a terminal or logs on to the shell and integrates it. There are many standard kernel threads, some of which run periodically to complete specific tasks (such as swapd), while others run continuously, wait for processing specific events (such as inetd and lpd ). The kernel thread can be said to be a user process, but it is different from the general user process. It is not swapped out like the kernel, so the running efficiency is high.
4. Linux supports Virtual Memory Management on multiple platforms. Memory Management is closely related to the hardware platform. To support different hardware platforms and ensure the versatility of the virtual storage management technology, linux Virtual Memory Management provides a unified interface for different hardware platforms. Therefore, porting the Linux kernel to a new hardware platform is not very difficult.
5. Another unique part of the Linux kernel is the Virtual File System (VFS ). The virtual file system not only provides unified interfaces for multiple logical file systems (such as ext2 and fat), but also provides unified interfaces for various hardware devices (as a special file.
6. Linux's module mechanism makes the kernel independent and easy to expand. The module mechanism allows the kernel to easily add a new module (such as a new device driver) without re-compiling the kernel. At the same time, the module mechanism can also add a module to or remove it from the kernel as needed, so that we can customize our own kernel as needed.
7. Add system calls to meet your special needs. Generally, system calling is an interface provided by the operating system designer to users to use kernel functions. However, the open source code of Linux allows you to design your own system calling and add it to the kernel.
8. The network object-oriented design makes it easy for Linux kernel to support multiple protocols and nic drivers.

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.