2018-04-18 16:07:48 +08:00
|
|
|
=================
|
|
|
|
Memory Management
|
|
|
|
=================
|
|
|
|
|
|
|
|
Linux memory management subsystem is responsible, as the name implies,
|
Documentation: fix multiple typos found in the admin-guide subdirectory
Fix thirty five typos in dm-integrity.rst, dm-raid.rst, dm-zoned.rst,
verity.rst, writecache.rst, tsx_async_abort.rst, md.rst, bttv.rst,
dvb_references.rst, frontend-cardlist.rst, gspca-cardlist.rst, ipu3.rst,
remote-controller.rst, mm/index.rst, numaperf.rst, userfaultfd.rst,
module-signing.rst, imx-ddr.rst, intel-speed-select.rst,
intel_pstate.rst, ramoops.rst, abi.rst, kernel.rst, vm.rst
Signed-off-by: Andrew Klychkov <andrew.a.klychkov@gmail.com>
Link: https://lore.kernel.org/r/20201204072848.GA49895@spblnx124.lan
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
2020-12-04 15:28:48 +08:00
|
|
|
for managing the memory in the system. This includes implementation of
|
2018-04-18 16:07:48 +08:00
|
|
|
virtual memory and demand paging, memory allocation both for kernel
|
Documentation: fix multiple typos found in the admin-guide subdirectory
Fix thirty five typos in dm-integrity.rst, dm-raid.rst, dm-zoned.rst,
verity.rst, writecache.rst, tsx_async_abort.rst, md.rst, bttv.rst,
dvb_references.rst, frontend-cardlist.rst, gspca-cardlist.rst, ipu3.rst,
remote-controller.rst, mm/index.rst, numaperf.rst, userfaultfd.rst,
module-signing.rst, imx-ddr.rst, intel-speed-select.rst,
intel_pstate.rst, ramoops.rst, abi.rst, kernel.rst, vm.rst
Signed-off-by: Andrew Klychkov <andrew.a.klychkov@gmail.com>
Link: https://lore.kernel.org/r/20201204072848.GA49895@spblnx124.lan
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
2020-12-04 15:28:48 +08:00
|
|
|
internal structures and user space programs, mapping of files into
|
2018-04-18 16:07:48 +08:00
|
|
|
processes address space and many other cool things.
|
|
|
|
|
|
|
|
Linux memory management is a complex system with many configurable
|
|
|
|
settings. Most of these settings are available via ``/proc``
|
|
|
|
filesystem and can be quired and adjusted using ``sysctl``. These APIs
|
2019-04-23 03:48:00 +08:00
|
|
|
are described in Documentation/admin-guide/sysctl/vm.rst and in `man 5 proc`_.
|
2018-04-18 16:07:48 +08:00
|
|
|
|
|
|
|
.. _man 5 proc: http://man7.org/linux/man-pages/man5/proc.5.html
|
|
|
|
|
2018-05-29 19:37:25 +08:00
|
|
|
Linux memory management has its own jargon and if you are not yet
|
2023-02-01 17:41:56 +08:00
|
|
|
familiar with it, consider reading Documentation/admin-guide/mm/concepts.rst.
|
2018-05-29 19:37:25 +08:00
|
|
|
|
2018-04-18 16:07:48 +08:00
|
|
|
Here we document in detail how to interact with various mechanisms in
|
|
|
|
the Linux memory management.
|
2018-04-18 16:07:49 +08:00
|
|
|
|
|
|
|
.. toctree::
|
|
|
|
:maxdepth: 1
|
|
|
|
|
2018-05-29 19:37:25 +08:00
|
|
|
concepts
|
2019-06-28 01:56:51 +08:00
|
|
|
cma_debugfs
|
2021-09-08 10:57:05 +08:00
|
|
|
damon/index
|
2018-04-18 16:07:49 +08:00
|
|
|
hugetlbpage
|
|
|
|
idle_page_tracking
|
2018-04-24 14:40:28 +08:00
|
|
|
ksm
|
2018-10-05 06:11:00 +08:00
|
|
|
memory-hotplug
|
2022-09-18 16:00:10 +08:00
|
|
|
multigen_lru
|
2020-07-19 00:50:55 +08:00
|
|
|
nommu-mmap
|
2018-05-08 15:02:10 +08:00
|
|
|
numa_memory_policy
|
2019-05-23 03:35:13 +08:00
|
|
|
numaperf
|
2018-04-18 16:07:49 +08:00
|
|
|
pagemap
|
2022-06-01 11:22:25 +08:00
|
|
|
shrinker_debugfs
|
2018-04-18 16:07:49 +08:00
|
|
|
soft-dirty
|
2021-11-06 04:45:55 +08:00
|
|
|
swap_numa
|
2018-05-14 16:13:40 +08:00
|
|
|
transhuge
|
2018-04-18 16:07:49 +08:00
|
|
|
userfaultfd
|
2021-11-06 04:45:55 +08:00
|
|
|
zswap
|