Memory Detection Tool KASAN in the Linux Kernel (8) – Implementation Based on Buddy System

Technical experience sharing, welcome to follow and provide guidance. In “KASAN (7) – Implementation Based on Slab”, the slab situation has been analyzed, but there is still a part based on the buddy system. The implementation of KASAN on the buddy system is quite special, and this article analyzes the KASAN implementation under the buddy … Read more

Summary of Linux Memory Management (Part II)

Summary of Linux Memory Management (Part II)

After the system starts, memory allocation and release in the Linux system kernel is performed using the buddy system mechanism after the mem_init() function completes. This mechanism can allocate both high memory and low memory. In addition to the buddy system, Linux has several other methods for memory allocation and release, but they are all … Read more

Linux Memory Management

Linux Memory Management

(Click the public account above to quickly follow) Source:WsztRush Link: http://wsztrush.github.io/%E7%BC%96%E7%A8%8B%E6%8A%80%E6%9C%AF/2015/05/13/Linux-Memory.html Most servers today run on Linux, so as a programmer, it is necessary to have a basic understanding of how the system operates. Regarding memory, you need to know: Address Mapping Memory Management Methods Page Faults First, let’s look at some basic knowledge. From … Read more