OPPO Kernel Craftsman
Jun 30, 2023 · Fundamentals
Understanding Linux Kernel Folio: From Page to Folio and Its Design Rationale
Linux kernel introduced the struct folio abstraction to replace ad‑hoc compound‑page tricks, giving a clear collection‑oriented representation for power‑of‑two page groups such as THP and HugeTLB, and providing dedicated APIs that eliminate naming confusion, unify reference handling, and make memory‑management code safer and easier to understand.
Kernel DevelopmentLinux kernelMemory Management
0 likes · 15 min read