One: Linux kernel:
The operating system is a low-level support software used to deal with hardware and provide a limited set of services for user programs. A computer system is a symbiotic body of hardware and software that is interdependent and indivisible. Computer hardware that contains peripherals, processors, memory, hard disks, and other electronic devices that make up the computer's engine. But without software to manipulate and control it, it cannot work itself. The software that completes this control is called the operating system, which is called the "kernel" in the terms of Linux, or "core". The main modules (or components) of the Linux kernel are divided into the following sections: storage management, CPU and process management, file systems, device management and drivers, network communications, and system initialization (booting), system calls, and so on. The Linux system architecture is shown below:
Second: The benefits of Kernel upgrades:
Support new hardware, improve efficiency, support new features, mainly for network, development, service applications.
Third: How to upgrade the kernel:
1: Will upgrade the kernel of the patch download installation.
2: Reinstall the new kernel on the old machine, replacing the original kernel.
Quad: Kernel compilation:
By modifying some of the kernel's options to implement different functions of the original kernel
Five: The following is an example of reinstalling the kernel to illustrate the process of compiling the Linux kernel:
1: View the Linux kernel size:
2: View kernel modules:
3: View all module instructions: [Root@lyt kernel]# Lsmod
View the details of a single module (for example, with the LP module): [Root@lyt kernel]# modinfo LP
Delete Module instruction (with LP module for example): [Root@lyt kernel]# rmmod LP
Reload module (with LP module for example): [Root@lyt kernel]# modprobe LP
View the configuration file for the module (you can manually configure some parameters): [Root@lyt kernel]# vim/etc/modprobe.conf
4: View the kernel source code: