Design and Implementation of Linux kernel (1)-kernel introduction

Source: Internet
Author: User
Linux kernel design and implementation (1)-Introduction to the kernel this section briefly introduces the basic concepts related to the kernel. Main content: single-core and micro-kernel version 1. single-core and micro-kernel www.2cto.com principle advantages and disadvantages single-core the entire kernel is in a large kernel address space...
Linux kernel design and implementation (1)-Introduction to the kernel this section briefly introduces the basic concepts related to the kernel. Main content: single-core and micro-kernel version 1. single-core and micro-kernel www.2cto.com advantages and disadvantages the entire single-core kernel runs in a large kernel address space. 1. simple. 2. efficiency: all kernels are in a large address space. Therefore, the calling of each function in the kernel is similar to calling a function, with almost no performance overhead. A function crash will make the entire kernel unusable.
The microkernel kernel is divided into independent processes by function. Each process runs independently in its own address space. 1. security: various kernel services run independently. if a service fails, other services will not be affected. Calls between services in the kernel involve inter-process communication, which is complex and inefficient. Although the Linux kernel is based on a single kernel, after so many years of development, it also has some features of the micro kernel. Www.2cto.com has the following features: support for dynamic loading of kernel modules and support for symmetric multi-processing (SMP) kernel preemption (preemptive ), the task that allows the kernel to run has the ability to execute first without separating threads and processes 2. the kernel version number consists of four arrays. For example, version: 2.6.26.1 where 2-master version www.2cto.com 6-slave version or secondary version 26-Revision Version 1-stable version
The minor version number indicates whether the version is stable (even) or development (odd). in the preceding example, the version number is stable. Stable versions can be used in enterprise-level environments. Updates to revision versions include BUG fixes, new drivers, and new feature additions. The stable version number is mainly used to modify some key bugs.
Related Article

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.