Linux kernel architecture

Source: Internet
Author: User

The Linux kernel consists of 5 major subsystems

are: Process scheduling (SCHED), interprocess communication (IPC), virtual file system (VFS), memory Management (MM), network communication (NET)

    1. Relationship between process scheduling and memory management: These two subsystems depend on each other. In a multi-channel program environment, the process must be created for the program, and the first thing to create a process is to load the program and data into memory.
    2. Relationship between interprocess communication and memory management: The interprocess communication subsystem relies on memory management to support the "shared memory" communication mechanism, which allows two processes to access a common area of memory in addition to their own private space.
    3. The relationship between the virtual file system and the network interface: the virtual file system uses a network interface to support the network File System (NFS), and also uses memory management to support RAMDisk devices.
    4. The relationship between memory management and virtual file systems: Memory management leverages the virtual file system to support switching, and the switching process (SWAPD) is scheduled by the scheduler periodically, which is the only reason that memory management relies on process scheduling. When a process accesses a memory map that is swapped out, memory management makes a request to the file system while suspending the currently running process.

"Disclaimer: Pictures are from the Internet"

Figure 1:linux Architecture

Figure 2:linux Architecture

Figure 3:linux Kernel structure

Linux kernel structure

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.