Kernel composition

The Linux kernel is mainly composed of 5 modules, they are: process scheduling module, memory management module, file system module, inter-
process communication module and network interface module

1. Process scheduling module: used to control the use of CPU resources by processes . The scheduling strategy adopted is that each process can access the CPU fairly and reasonably, and at the same time ensures that the kernel can perform hardware operations in a timely manner.

2. Memory management module: It is used to ensure that all processes can safely share the main memory area of ​​the machine. At the same time, the memory management module It also supports virtual memory management, so that Linux supports processes to use more memory capacity than actual memory space. And can use the file system to swap temporarily unused memory data blocks to external storage devices, and then swap them back when needed

3 .File system module: used to support the drive and storage of external devices. The virtual file system module hides the different details of various hardware devices by providing a common file interface to all external storage devices. A variety of file system formats compatible with the operating system

4. Inter-process communication module: The subsystem is used to support a variety of information exchange methods between processes

5. Network interface module: Used to provide access to a variety of network communication standards and support many networks hardware


Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326534996&siteId=291194637