The Linux kernel is not isolated. It must be studied in the entire system. Figure 1.1 shows the location of the Linux kernel in the entire operating system
:
User Process
System Call Interface
Hardware
Linux Kernel
Figure 1.1 Location of the Linux kernel in the entire operating system
As can be seen from Figure 1.1, the Linux operating system consists of four parts:
1. User Process & mdash; User application is a huge collection of software running at the highest level of the Linux operating system. When a user program runs on top of the operating system, it becomes a process in the operating system.
2. System Call Interface — In an application, a specific procedure in the operating system kernel can be called through a system call to implement a specific service. For example, if you schedule a system call to create a process in your program, the operating system kernel creates a new process for it.
The system call itself is also a process consisting of several instructions. But it is different from the general process. The main difference is that the system call is running in kernel mode (or system state), and the general process is running in user mode. In Linux, system calls are part of the kernel code.
3. Linux kernel — this is the focus of this book. The kernel is the soul of the operating system. It is responsible for managing files and memory on the disk, starting and running programs, receiving and sending data packets from the network, and so on. In short, the kernel is actually the interface between abstract resource operations and specific hardware operation details.
4. Hardware — This subsystem includes all possible physical devices required for Linux installation. For example, CPU, memory, hard drive, network hardware, and more.
The above division divides the entire Linux operating system into four levels. The user process is also included in the scope of the operating system because the operation of the user process is closely related to the operating system, and the system call interface can be said to be an extension of the operating system kernel, and the hardware is the material condition on which the operating system kernel depends. These four levels of dependencies are expressed as: the upper layer depends on the lower layer.
1, what is light-emitting diode Light-emitting diodes are everywhere in everyday appliances, it can
nmap is a network port scanner. Its main function is to check a group of target hosts to see which
As the demand for PaaS and DevOps solutions grows, we can see that legacy applications running on v
under Windows we have the power management system is very familiar with, we can achieve STR, STD and
Several ways to run linux process background
Linux disk larger than 2T using GPT partition method
MCU IO port expansion technology
Step by step to teach the Linux system to maintain the four great tricks
Summary of gcc compilation and proc compilation under linux
Linux adsl dialing and sharing Internet
Talking about the clock debugging in the driver development
WebLogic installation and configuration on Linux operating system
Under linux rm delete non-empty directory
Linux SSH jump server reported Host key verification failed problem solved
Win7 open and disable system desktop gadget settings method graphic tutorial
Upgrading Windows Server 2008 is a Trouble
Let Win8 display the full file path policy
Microsoft Win10 China conference live video live
Is the ZIP decompression system under Vista still WinRAR?
Windows system operation intensive 60 strokes
The unknown Win7 operating system permissions
Linux installation of MariaDB database through Yum
How Win7 adds or removes input method
A few steps to solve the Vista /Win7 dual system picture confusion problem