Linux Kernel No. 1

Source: Internet
Author: User

Linux Kernel 1. linux architecture

Linux can be divided into user space and kernel space. Kernel space and user space are two different states of program execution. The transition from user space to kernel space can be completed through system calls and hardware interruptions. Www.2cto.com 2. Linux kernel architecture

The 2.1 system call interface (SCI) SCI layer provides a set of standard system call functions for user space to access the Linux kernel and build a bridge between user space and the kernel. 2.2 process management (PM) the focus of process management is to create a process (fork, exec), stop the process (kill, exit), and control the communication between them (singal or POSIX mechanism ), process Management also includes controlling how active processes share the CPU (process scheduling )..
2.3 Memory Management (MM) the main function of memory management is to control the secure shared memory areas of multiple processes. 2.4 The network protocol stack (NS) provides a wide range of network protocol implementations for Linux. 2.5 Virtual File System (VFS) www.2cto.com VFS hides details of various file systems and provides unified interfaces for file operations.

2.6 The Device Driver (DD) Linux kernel contains a large amount of code in the device driver, and they control specific hardware devices. 2.7 ArchArch contains each CPU system supported by the kernel. In the Arch directory, each sub-directory corresponding to each CPU system contains sub-directories such as boot, mm, and kenerl, control system guidance, memory management, and system calls. For example, X86 systems such as hubi0952

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.