Linux as a free software, with the support of the vast number of enthusiasts, the kernel version is constantly updated. The new kernel has revised the kernel bugs and added many new features. If users need to use these new features or tailor a more efficient or stable kernel to their own systems, they need to recompile the new kernel.
The compilation kernel contains two main things: the configuration kernel and the compiled kernel.
Before compiling the kernel, you need to know your system's hardware configuration, such as the type of CPU, motherboard chip, graphics card and sound card and other relevant parameters. And now the kernel version number.
After figuring out your own hardware situation, according to the specific needs, some kernel patches from the relevant website, if the kernel version and hardware need to use the kernel version is too large, you can directly download the most suitable for their latest version of the kernel. Then download the appropriate kernel patches.
As for the specific operation, you can read the P190 of the book.
How to recompile the Linux kernel