2018-04-18 08:07:48 +00: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 07:28:48 +00:00
|
|
|
for managing the memory in the system. This includes implementation of
|
2018-04-18 08:07:48 +00: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 07:28:48 +00:00
|
|
|
internal structures and user space programs, mapping of files into
|
2018-04-18 08:07:48 +00: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``
|
2024-06-30 06:59:12 +00:00
|
|
|
filesystem and can be queried and adjusted using ``sysctl``. These APIs
|
2019-04-22 19:48:00 +00:00
|
|
|
are described in Documentation/admin-guide/sysctl/vm.rst and in `man 5 proc`_.
|
2018-04-18 08:07:48 +00:00
|
|
|
|
|
|
|
.. _man 5 proc: http://man7.org/linux/man-pages/man5/proc.5.html
|
|
|
|
|
2018-05-29 11:37:25 +00:00
|
|
|
Linux memory management has its own jargon and if you are not yet
|
2023-02-01 09:41:56 +00:00
|
|
|
familiar with it, consider reading Documentation/admin-guide/mm/concepts.rst.
|
2018-05-29 11:37:25 +00:00
|
|
|
|
2018-04-18 08:07:48 +00:00
|
|
|
Here we document in detail how to interact with various mechanisms in
|
|
|
|
the Linux memory management.
|
2018-04-18 08:07:49 +00:00
|
|
|
|
|
|
|
.. toctree::
|
|
|
|
:maxdepth: 1
|
|
|
|
|
2018-05-29 11:37:25 +00:00
|
|
|
concepts
|
2019-06-27 17:56:51 +00:00
|
|
|
cma_debugfs
|
2021-09-08 02:57:05 +00:00
|
|
|
damon/index
|
2018-04-18 08:07:49 +00:00
|
|
|
hugetlbpage
|
|
|
|
idle_page_tracking
|
2018-04-24 06:40:28 +00:00
|
|
|
ksm
|
2018-10-04 22:11:00 +00:00
|
|
|
memory-hotplug
|
2022-09-18 08:00:10 +00:00
|
|
|
multigen_lru
|
2020-07-18 16:50:55 +00:00
|
|
|
nommu-mmap
|
2018-05-08 07:02:10 +00:00
|
|
|
numa_memory_policy
|
2019-05-22 19:35:13 +00:00
|
|
|
numaperf
|
2018-04-18 08:07:49 +00:00
|
|
|
pagemap
|
2022-06-01 03:22:25 +00:00
|
|
|
shrinker_debugfs
|
2018-04-18 08:07:49 +00:00
|
|
|
soft-dirty
|
2021-11-05 20:45:55 +00:00
|
|
|
swap_numa
|
2018-05-14 08:13:40 +00:00
|
|
|
transhuge
|
2018-04-18 08:07:49 +00:00
|
|
|
userfaultfd
|
2021-11-05 20:45:55 +00:00
|
|
|
zswap
|