2018-03-22 03:22:48 +08:00
|
|
|
=====================================
|
|
|
|
Linux Memory Management Documentation
|
|
|
|
=====================================
|
|
|
|
|
2022-05-07 21:49:47 +08:00
|
|
|
Memory Management Guide
|
|
|
|
=======================
|
|
|
|
|
|
|
|
This is a guide to understanding the memory management subsystem
|
|
|
|
of Linux. If you are looking for advice on simply allocating memory,
|
|
|
|
see the :ref:`memory_allocation`. For controlling and tuning guides,
|
|
|
|
see the :doc:`admin guide <../admin-guide/mm/index>`.
|
|
|
|
|
|
|
|
.. toctree::
|
|
|
|
:maxdepth: 1
|
|
|
|
|
|
|
|
physical_memory
|
|
|
|
page_tables
|
|
|
|
process_addrs
|
|
|
|
bootmem
|
|
|
|
page_allocation
|
|
|
|
vmalloc
|
|
|
|
slab
|
|
|
|
highmem
|
|
|
|
page_reclaim
|
|
|
|
swap
|
|
|
|
page_cache
|
|
|
|
shmfs
|
|
|
|
oom
|
|
|
|
|
|
|
|
Legacy Documentation
|
|
|
|
====================
|
|
|
|
|
|
|
|
This is a collection of older documents about the Linux memory management
|
|
|
|
(MM) subsystem internals with different level of details ranging from
|
|
|
|
notes and mailing list responses for elaborating descriptions of data
|
|
|
|
structures and algorithms. It should all be integrated nicely into the
|
|
|
|
above structured documentation, or deleted if it has served its purpose.
|
2018-03-22 03:22:48 +08:00
|
|
|
|
|
|
|
.. toctree::
|
|
|
|
:maxdepth: 1
|
|
|
|
|
|
|
|
active_mm
|
2020-09-09 22:10:45 +08:00
|
|
|
arch_pgtable_helpers
|
2018-03-22 03:22:48 +08:00
|
|
|
balance
|
2021-09-08 10:57:05 +08:00
|
|
|
damon/index
|
2020-04-15 00:48:48 +08:00
|
|
|
free_page_reporting
|
2018-03-22 03:22:48 +08:00
|
|
|
frontswap
|
|
|
|
hmm
|
|
|
|
hwpoison
|
|
|
|
hugetlbfs_reserv
|
2018-05-29 18:13:38 +08:00
|
|
|
ksm
|
2019-04-28 20:17:43 +08:00
|
|
|
memory-model
|
2018-03-22 03:22:48 +08:00
|
|
|
mmu_notifier
|
2022-09-18 16:00:11 +08:00
|
|
|
multigen_lru
|
2018-03-22 03:22:48 +08:00
|
|
|
numa
|
|
|
|
overcommit-accounting
|
|
|
|
page_migration
|
|
|
|
page_frags
|
|
|
|
page_owner
|
2022-01-15 06:06:37 +08:00
|
|
|
page_table_check
|
2018-03-22 03:22:48 +08:00
|
|
|
remap_file_pages
|
|
|
|
slub
|
|
|
|
split_page_table_lock
|
2018-05-29 18:13:38 +08:00
|
|
|
transhuge
|
2018-03-22 03:22:48 +08:00
|
|
|
unevictable-lru
|
2022-01-15 06:06:26 +08:00
|
|
|
vmalloced-kernel-stacks
|
2022-04-29 14:16:15 +08:00
|
|
|
vmemmap_dedup
|
2018-03-22 03:22:48 +08:00
|
|
|
z3fold
|
|
|
|
zsmalloc
|