See

Linux memory allocator

Basic concepts and data structures of memory allocation in Linux kernel v6.2.