Linux Memory Management
Official docs outline
12 sections- Memory management guide
Administrator index of memory management features and tunables.
- Concepts overview
Virtual memory, pages, page cache, zones, nodes, OOM killer and compaction.
- HugeTLB pages
Reserving and mapping huge pages with hugetlbfs, nr_hugepages and MAP_HUGETLB.
- Transparent hugepages
THP enabled and defrag settings, khugepaged and madvise hints.
- NUMA memory policy
mbind, set_mempolicy and interleave, preferred and bind policies.
- Kernel samepage merging
KSM page deduplication through madvise MADV_MERGEABLE.
- Zswap
Compressed swap cache in RAM with pools and writeback.
- Userfaultfd
User-space page fault handling, UFFDIO ioctls and live migration use.
- DAMON
Data access monitoring and DAMON-based reclaim.
- Page tables
Multi-level page table layout, PGD, PUD, PMD and PTE.
- Overcommit accounting
vm.overcommit_memory modes and commit limits.
- Memory management internals
Kernel developer docs on slab, page allocator, vmalloc and reclaim.
Each section links to the official page. Titles and summaries by Extra Credit; the docs belong to their authors.