2023-01-22 18:48:34 +00:00
|
|
|
===============================
|
|
|
|
Memory Management Documentation
|
|
|
|
===============================
|
2018-03-21 21:22:48 +02:00
|
|
|
|
2022-05-07 14:49:47 +01: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-21 21:22:48 +02:00
|
|
|
|
|
|
|
.. toctree::
|
|
|
|
:maxdepth: 1
|
|
|
|
|
|
|
|
active_mm
|
2020-09-09 16:10:45 +02:00
|
|
|
arch_pgtable_helpers
|
2018-03-21 21:22:48 +02:00
|
|
|
balance
|
2021-09-07 19:57:05 -07:00
|
|
|
damon/index
|
2020-04-14 18:48:48 +02:00
|
|
|
free_page_reporting
|
2018-03-21 21:22:48 +02:00
|
|
|
hmm
|
|
|
|
hwpoison
|
|
|
|
hugetlbfs_reserv
|
2018-05-29 13:13:38 +03:00
|
|
|
ksm
|
2019-04-28 15:17:43 +03:00
|
|
|
memory-model
|
2018-03-21 21:22:48 +02:00
|
|
|
mmu_notifier
|
2022-09-18 02:00:11 -06:00
|
|
|
multigen_lru
|
2018-03-21 21:22:48 +02:00
|
|
|
numa
|
|
|
|
overcommit-accounting
|
|
|
|
page_migration
|
|
|
|
page_frags
|
|
|
|
page_owner
|
2022-01-14 14:06:37 -08:00
|
|
|
page_table_check
|
2018-03-21 21:22:48 +02:00
|
|
|
remap_file_pages
|
|
|
|
slub
|
|
|
|
split_page_table_lock
|
2018-05-29 13:13:38 +03:00
|
|
|
transhuge
|
2018-03-21 21:22:48 +02:00
|
|
|
unevictable-lru
|
2022-01-14 14:06:26 -08:00
|
|
|
vmalloced-kernel-stacks
|
2022-04-28 23:16:15 -07:00
|
|
|
vmemmap_dedup
|
2018-03-21 21:22:48 +02:00
|
|
|
z3fold
|
|
|
|
zsmalloc
|