[$] Allocator optimizations for transparent huge pages

Post Syndicated from corbet original https://lwn.net/Articles/974636/

The original Linux kernel, posted in 1991, ran on a system with a 4KB page
size. Over 30 years later, most of us are still running on systems
with 4KB pages, even though the amount of installed memory has grown by a
few orders of magnitude. It is generally accepted that using large page
sizes results in better performance for most applications, but allocating
larger pages is often difficult. During a memory-management session at the 2024 Linux Storage,
Filesystem, Memory-Management and BPF Summit
, Yu Zhao presented his
ideas on improving the allocation of huge pages in the kernel.