Home > Article > Operation and Maintenance > What is the Linux kernel
I believe that many people are familiar with the Linux system, but some people may be unfamiliar with the Linux kernel. The following php Chinese website will take you to understand what is the Linux kernel? [Recommended reading: What is a Linux distribution】
1: What is Linux
Linux is a UNIX-like operating system developed by Linus Torvalds. The main feature of Linux is that it is open source, so we can use it for free as a server.
Linux is strictly divided into two meanings.
1. Linux in a broad sense refers to Linux distributions
2. Linux in a narrow sense refers to Linux kernel
Linux kernel is the basis of the operating system, between hardware and software Between, and the kernel is located in the operating system, the operating system will mediate between hardware and software. The Linux kernel is the function of the core part of the operating system.
2: Basic performance of the kernel
1. Process management
In the Linux kernel, the execution status of the program is managed in units of processes. In addition, the kernel prepares a data structure called task_stract structure for each process.
2. Process scheduler
The executable state waits for which process to execute in which order. Since it is basically impossible to run more processes than the number of CPUs, the efficiency of the running process is very important.
3. Memory management
In the Linux kernel, physical memory and virtual memory are used to manage data. By allocating virtual addresses that correspond to physical memory, rather than actually assigning physical memory addresses to each process, it is possible to use memory with a capacity that is much larger than the actual physical memory capacity. It makes it possible. Additionally, since each process is assigned its own virtual address, each process's memory space is independent and does not violate the memory of other processes.
3. File system
It provides access methods to store data in the form of files. All data is managed in the form of files. /Directory (the root directory) serves as the apex, and the kernel itself exists as a collection of files and directories.
The above is a complete introduction to what is the Linux kernel. If you want to know more about Linux tutorial, please pay attention to the php Chinese website.
The above is the detailed content of What is the Linux kernel. For more information, please follow other related articles on the PHP Chinese website!