Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

docs: rename Documentation/vm to Documentation/mm

so it will be consistent with code mm directory and with
Documentation/admin-guide/mm and won't be confused with virtual machines.

Signed-off-by: Mike Rapoport <rppt@linux.ibm.com>
Suggested-by: Matthew Wilcox <willy@infradead.org>
Tested-by: Ira Weiny <ira.weiny@intel.com>
Acked-by: Jonathan Corbet <corbet@lwn.net>
Acked-by: Wu XiangCheng <bobwxc@email.cn>

authored by

Mike Rapoport and committed by
akpm
ee65728e 46a3b112

+89 -93
+1 -1
Documentation/ABI/testing/sysfs-kernel-mm-ksm
··· 41 41 sleep_millisecs: how many milliseconds ksm should sleep between 42 42 scans. 43 43 44 - See Documentation/vm/ksm.rst for more information. 44 + See Documentation/mm/ksm.rst for more information. 45 45 46 46 What: /sys/kernel/mm/ksm/merge_across_nodes 47 47 Date: January 2013
+2 -2
Documentation/ABI/testing/sysfs-kernel-slab
··· 37 37 The alloc_calls file is read-only and lists the kernel code 38 38 locations from which allocations for this cache were performed. 39 39 The alloc_calls file only contains information if debugging is 40 - enabled for that cache (see Documentation/vm/slub.rst). 40 + enabled for that cache (see Documentation/mm/slub.rst). 41 41 42 42 What: /sys/kernel/slab/<cache>/alloc_fastpath 43 43 Date: February 2008 ··· 219 219 Description: 220 220 The free_calls file is read-only and lists the locations of 221 221 object frees if slab debugging is enabled (see 222 - Documentation/vm/slub.rst). 222 + Documentation/mm/slub.rst). 223 223 224 224 What: /sys/kernel/slab/<cache>/free_fastpath 225 225 Date: February 2008
+5 -5
Documentation/admin-guide/kernel-parameters.txt
··· 5442 5442 cache (risks via metadata attacks are mostly 5443 5443 unchanged). Debug options disable merging on their 5444 5444 own. 5445 - For more information see Documentation/vm/slub.rst. 5445 + For more information see Documentation/mm/slub.rst. 5446 5446 5447 5447 slab_max_order= [MM, SLAB] 5448 5448 Determines the maximum allowed order for slabs. ··· 5456 5456 slub_debug can create guard zones around objects and 5457 5457 may poison objects when not in use. Also tracks the 5458 5458 last alloc / free. For more information see 5459 - Documentation/vm/slub.rst. 5459 + Documentation/mm/slub.rst. 5460 5460 5461 5461 slub_max_order= [MM, SLUB] 5462 5462 Determines the maximum allowed order for slabs. 5463 5463 A high setting may cause OOMs due to memory 5464 5464 fragmentation. For more information see 5465 - Documentation/vm/slub.rst. 5465 + Documentation/mm/slub.rst. 5466 5466 5467 5467 slub_min_objects= [MM, SLUB] 5468 5468 The minimum number of objects per slab. SLUB will ··· 5471 5471 the number of objects indicated. The higher the number 5472 5472 of objects the smaller the overhead of tracking slabs 5473 5473 and the less frequently locks need to be acquired. 5474 - For more information see Documentation/vm/slub.rst. 5474 + For more information see Documentation/mm/slub.rst. 5475 5475 5476 5476 slub_min_order= [MM, SLUB] 5477 5477 Determines the minimum page order for slabs. Must be 5478 5478 lower than slub_max_order. 5479 - For more information see Documentation/vm/slub.rst. 5479 + For more information see Documentation/mm/slub.rst. 5480 5480 5481 5481 slub_merge [MM, SLUB] 5482 5482 Same with slab_merge.
+1 -1
Documentation/admin-guide/mm/concepts.rst
··· 125 125 constructs an independent memory management subsystem. A node has its 126 126 own set of zones, lists of free and used pages and various statistics 127 127 counters. You can find more details about NUMA in 128 - :ref:`Documentation/vm/numa.rst <numa>` and in 128 + :ref:`Documentation/mm/numa.rst <numa>` and in 129 129 :ref:`Documentation/admin-guide/mm/numa_memory_policy.rst <numa_memory_policy>`. 130 130 131 131 Page cache
+1 -1
Documentation/admin-guide/mm/damon/index.rst
··· 4 4 Monitoring Data Accesses 5 5 ======================== 6 6 7 - :doc:`DAMON </vm/damon/index>` allows light-weight data access monitoring. 7 + :doc:`DAMON </mm/damon/index>` allows light-weight data access monitoring. 8 8 Using DAMON, users can analyze the memory access patterns of their systems and 9 9 optimize those. 10 10
+1 -1
Documentation/admin-guide/mm/damon/reclaim.rst
··· 268 268 269 269 .. [1] https://research.google/pubs/pub48551/ 270 270 .. [2] https://lwn.net/Articles/787611/ 271 - .. [3] https://www.kernel.org/doc/html/latest/vm/free_page_reporting.html 271 + .. [3] https://www.kernel.org/doc/html/latest/mm/free_page_reporting.html
+4 -4
Documentation/admin-guide/mm/damon/usage.rst
··· 30 30 <sysfs_interface>`. This will be removed after next LTS kernel is released, 31 31 so users should move to the :ref:`sysfs interface <sysfs_interface>`. 32 32 - *Kernel Space Programming Interface.* 33 - :doc:`This </vm/damon/api>` is for kernel space programmers. Using this, 33 + :doc:`This </mm/damon/api>` is for kernel space programmers. Using this, 34 34 users can utilize every feature of DAMON most flexibly and efficiently by 35 35 writing kernel space DAMON application programs for you. You can even extend 36 36 DAMON for various address spaces. For detail, please refer to the interface 37 - :doc:`document </vm/damon/api>`. 37 + :doc:`document </mm/damon/api>`. 38 38 39 39 .. _sysfs_interface: 40 40 ··· 185 185 writing to and rading from the files. 186 186 187 187 For more details about the intervals and monitoring regions range, please refer 188 - to the Design document (:doc:`/vm/damon/design`). 188 + to the Design document (:doc:`/mm/damon/design`). 189 189 190 190 contexts/<N>/targets/ 191 191 --------------------- ··· 402 402 Users can get and set the ``sampling interval``, ``aggregation interval``, 403 403 ``update interval``, and min/max number of monitoring target regions by 404 404 reading from and writing to the ``attrs`` file. To know about the monitoring 405 - attributes in detail, please refer to the :doc:`/vm/damon/design`. For 405 + attributes in detail, please refer to the :doc:`/mm/damon/design`. For 406 406 example, below commands set those values to 5 ms, 100 ms, 1,000 ms, 10 and 407 407 1000, and then check it again:: 408 408
+1 -1
Documentation/admin-guide/sysctl/vm.rst
··· 760 760 761 761 The default value is 0. 762 762 763 - See Documentation/vm/overcommit-accounting.rst and 763 + See Documentation/mm/overcommit-accounting.rst and 764 764 mm/util.c::__vm_enough_memory() for more information. 765 765 766 766
+1 -1
Documentation/core-api/index.rst
··· 87 87 ================= 88 88 89 89 How to allocate and use memory in the kernel. Note that there is a lot 90 - more memory-management documentation in Documentation/vm/index.rst. 90 + more memory-management documentation in Documentation/mm/index.rst. 91 91 92 92 .. toctree:: 93 93 :maxdepth: 1
+1 -1
Documentation/filesystems/proc.rst
··· 1109 1109 yield a CommitLimit of 7.3G. 1110 1110 1111 1111 For more details, see the memory overcommit documentation 1112 - in vm/overcommit-accounting. 1112 + in mm/overcommit-accounting. 1113 1113 Committed_AS 1114 1114 The amount of memory presently allocated on the system. 1115 1115 The committed memory is a sum of all of the memory which
+1 -1
Documentation/index.rst
··· 128 128 sound/index 129 129 crypto/index 130 130 filesystems/index 131 - vm/index 131 + mm/index 132 132 bpf/index 133 133 usb/index 134 134 PCI/index
+1 -1
Documentation/translations/zh_CN/admin-guide/mm/damon/index.rst
··· 13 13 监测数据访问 14 14 ============ 15 15 16 - :doc:`DAMON </vm/damon/index>` 允许轻量级的数据访问监测。使用DAMON, 16 + :doc:`DAMON </mm/damon/index>` 允许轻量级的数据访问监测。使用DAMON, 17 17 用户可以分析他们系统的内存访问模式,并优化它们。 18 18 19 19 .. toctree::
+1 -1
Documentation/translations/zh_CN/admin-guide/mm/damon/reclaim.rst
··· 229 229 230 230 .. [1] https://research.google/pubs/pub48551/ 231 231 .. [2] https://lwn.net/Articles/787611/ 232 - .. [3] https://www.kernel.org/doc/html/latest/vm/free_page_reporting.html 232 + .. [3] https://www.kernel.org/doc/html/latest/mm/free_page_reporting.html
+4 -4
Documentation/translations/zh_CN/admin-guide/mm/damon/usage.rst
··· 33 33 口相同。这将在下一个LTS内核发布后被移除,所以用户应该转移到 34 34 :ref:`sysfs interface <sysfs_interface>`。 35 35 - *内核空间编程接口。* 36 - :doc:`这 </vm/damon/api>` 这是为内核空间程序员准备的。使用它,用户可以通过为你编写内 36 + :doc:`这 </mm/damon/api>` 这是为内核空间程序员准备的。使用它,用户可以通过为你编写内 37 37 核空间的DAMON应用程序,最灵活有效地利用DAMON的每一个功能。你甚至可以为各种地址空间扩展DAMON。 38 - 详细情况请参考接口 :doc:`文件 </vm/damon/api>`。 38 + 详细情况请参考接口 :doc:`文件 </mm/damon/api>`。 39 39 40 40 sysfs接口 41 41 ========= ··· 148 148 在 ``nr_regions`` 目录下,有两个文件分别用于DAMON监测区域的下限和上限(``min`` 和 ``max`` ), 149 149 这两个文件控制着监测的开销。你可以通过向这些文件的写入和读出来设置和获取这些值。 150 150 151 - 关于间隔和监测区域范围的更多细节,请参考设计文件 (:doc:`/vm/damon/design`)。 151 + 关于间隔和监测区域范围的更多细节,请参考设计文件 (:doc:`/mm/damon/design`)。 152 152 153 153 contexts/<N>/targets/ 154 154 --------------------- ··· 318 318 ---- 319 319 320 320 用户可以通过读取和写入 ``attrs`` 文件获得和设置 ``采样间隔`` 、 ``聚集间隔`` 、 ``更新间隔`` 321 - 以及监测目标区域的最小/最大数量。要详细了解监测属性,请参考 `:doc:/vm/damon/design` 。例如, 321 + 以及监测目标区域的最小/最大数量。要详细了解监测属性,请参考 `:doc:/mm/damon/design` 。例如, 322 322 下面的命令将这些值设置为5ms、100ms、1000ms、10和1000,然后再次检查:: 323 323 324 324 # cd <debugfs>/damon
+1 -1
Documentation/translations/zh_CN/core-api/index.rst
··· 101 101 ======== 102 102 103 103 如何在内核中分配和使用内存。请注意,在 104 - :doc:`/vm/index` 中有更多的内存管理文档。 104 + :doc:`/mm/index` 中有更多的内存管理文档。 105 105 106 106 .. toctree:: 107 107 :maxdepth: 1
+1 -1
Documentation/translations/zh_CN/index.rst
··· 118 118 sound/index 119 119 filesystems/index 120 120 scheduler/index 121 - vm/index 121 + mm/index 122 122 peci/index 123 123 124 124 TODOList:
+1 -1
Documentation/translations/zh_CN/vm/active_mm.rst Documentation/translations/zh_CN/mm/active_mm.rst
··· 1 1 .. include:: ../disclaimer-zh_CN.rst 2 2 3 - :Original: Documentation/vm/active_mm.rst 3 + :Original: Documentation/mm/active_mm.rst 4 4 5 5 :翻译: 6 6
+1 -1
Documentation/translations/zh_CN/vm/balance.rst Documentation/translations/zh_CN/mm/balance.rst
··· 1 1 .. include:: ../disclaimer-zh_CN.rst 2 2 3 - :Original: Documentation/vm/balance.rst 3 + :Original: Documentation/mm/balance.rst 4 4 5 5 :翻译: 6 6
+1 -1
Documentation/translations/zh_CN/vm/damon/api.rst Documentation/translations/zh_CN/mm/damon/api.rst
··· 1 1 .. SPDX-License-Identifier: GPL-2.0 2 2 3 - :Original: Documentation/vm/damon/api.rst 3 + :Original: Documentation/mm/damon/api.rst 4 4 5 5 :翻译: 6 6
+1 -1
Documentation/translations/zh_CN/vm/damon/design.rst Documentation/translations/zh_CN/mm/damon/design.rst
··· 1 1 .. SPDX-License-Identifier: GPL-2.0 2 2 3 - :Original: Documentation/vm/damon/design.rst 3 + :Original: Documentation/mm/damon/design.rst 4 4 5 5 :翻译: 6 6
+1 -1
Documentation/translations/zh_CN/vm/damon/faq.rst Documentation/translations/zh_CN/mm/damon/faq.rst
··· 1 1 .. SPDX-License-Identifier: GPL-2.0 2 2 3 - :Original: Documentation/vm/damon/faq.rst 3 + :Original: Documentation/mm/damon/faq.rst 4 4 5 5 :翻译: 6 6
+2 -3
Documentation/translations/zh_CN/vm/damon/index.rst Documentation/translations/zh_CN/mm/damon/index.rst
··· 1 1 .. SPDX-License-Identifier: GPL-2.0 2 2 3 - :Original: Documentation/vm/damon/index.rst 3 + :Original: Documentation/mm/damon/index.rst 4 4 5 5 :翻译: 6 6 ··· 14 14 ========================== 15 15 16 16 DAMON是Linux内核的一个数据访问监控框架子系统。DAMON的核心机制使其成为 17 - (该核心机制详见(Documentation/translations/zh_CN/vm/damon/design.rst)) 17 + (该核心机制详见(Documentation/translations/zh_CN/mm/damon/design.rst)) 18 18 19 19 - *准确度* (监测输出对DRAM级别的内存管理足够有用;但可能不适合CPU Cache级别), 20 20 - *轻量级* (监控开销低到可以在线应用),以及 ··· 30 30 faq 31 31 design 32 32 api 33 -
+1 -1
Documentation/translations/zh_CN/vm/free_page_reporting.rst Documentation/translations/zh_CN/mm/free_page_reporting.rst
··· 1 1 .. include:: ../disclaimer-zh_CN.rst 2 2 3 - :Original: Documentation/vm/_free_page_reporting.rst 3 + :Original: Documentation/mm/_free_page_reporting.rst 4 4 5 5 :翻译: 6 6
+1 -1
Documentation/translations/zh_CN/vm/frontswap.rst Documentation/translations/zh_CN/mm/frontswap.rst
··· 1 - :Original: Documentation/vm/_free_page_reporting.rst 1 + :Original: Documentation/mm/_free_page_reporting.rst 2 2 3 3 :翻译: 4 4
+1 -1
Documentation/translations/zh_CN/vm/highmem.rst Documentation/translations/zh_CN/mm/highmem.rst
··· 1 1 .. include:: ../disclaimer-zh_CN.rst 2 2 3 - :Original: Documentation/vm/highmem.rst 3 + :Original: Documentation/mm/highmem.rst 4 4 5 5 :翻译: 6 6
+1 -1
Documentation/translations/zh_CN/vm/hmm.rst Documentation/translations/zh_CN/mm/hmm.rst
··· 1 1 .. include:: ../disclaimer-zh_CN.rst 2 2 3 - :Original: Documentation/vm/hmm.rst 3 + :Original: Documentation/mm/hmm.rst 4 4 5 5 :翻译: 6 6
+1 -1
Documentation/translations/zh_CN/vm/hugetlbfs_reserv.rst Documentation/translations/zh_CN/mm/hugetlbfs_reserv.rst
··· 1 1 .. include:: ../disclaimer-zh_CN.rst 2 2 3 - :Original: Documentation/vm/hugetlbfs_reserv.rst 3 + :Original: Documentation/mm/hugetlbfs_reserv.rst 4 4 5 5 :翻译: 6 6
+1 -1
Documentation/translations/zh_CN/vm/hwpoison.rst Documentation/translations/zh_CN/mm/hwpoison.rst
··· 1 1 2 - :Original: Documentation/vm/hwpoison.rst 2 + :Original: Documentation/mm/hwpoison.rst 3 3 4 4 :翻译: 5 5
+1 -1
Documentation/translations/zh_CN/vm/index.rst Documentation/translations/zh_CN/mm/index.rst
··· 1 1 .. include:: ../disclaimer-zh_CN.rst 2 2 3 - :Original: Documentation/vm/index.rst 3 + :Original: Documentation/mm/index.rst 4 4 5 5 :翻译: 6 6
+1 -1
Documentation/translations/zh_CN/vm/ksm.rst Documentation/translations/zh_CN/mm/ksm.rst
··· 1 1 .. include:: ../disclaimer-zh_CN.rst 2 2 3 - :Original: Documentation/vm/ksm.rst 3 + :Original: Documentation/mm/ksm.rst 4 4 5 5 :翻译: 6 6
+2 -2
Documentation/translations/zh_CN/vm/memory-model.rst Documentation/translations/zh_CN/mm/memory-model.rst
··· 1 1 .. SPDX-License-Identifier: GPL-2.0 2 2 3 - :Original: Documentation/vm/memory-model.rst 3 + :Original: Documentation/mm/memory-model.rst 4 4 5 5 :翻译: 6 6 ··· 129 129 * pmem: 通过DAX映射将平台持久性内存作为直接I/O目标使用。 130 130 131 131 * hmm: 用 `->page_fault()` 和 `->page_free()` 事件回调扩展 `ZONE_DEVICE` , 132 - 以允许设备驱动程序协调与设备内存相关的内存管理事件,通常是GPU内存。参见/vm/hmm.rst。 132 + 以允许设备驱动程序协调与设备内存相关的内存管理事件,通常是GPU内存。参见Documentation/mm/hmm.rst。 133 133 134 134 * p2pdma: 创建 `struct page` 对象,允许PCI/E拓扑结构中的peer设备协调它们之间的 135 135 直接DMA操作,即绕过主机内存。
+1 -1
Documentation/translations/zh_CN/vm/mmu_notifier.rst Documentation/translations/zh_CN/mm/mmu_notifier.rst
··· 1 - :Original: Documentation/vm/mmu_notifier.rst 1 + :Original: Documentation/mm/mmu_notifier.rst 2 2 3 3 :翻译: 4 4
+1 -1
Documentation/translations/zh_CN/vm/numa.rst Documentation/translations/zh_CN/mm/numa.rst
··· 1 - :Original: Documentation/vm/numa.rst 1 + :Original: Documentation/mm/numa.rst 2 2 3 3 :翻译: 4 4
+1 -1
Documentation/translations/zh_CN/vm/overcommit-accounting.rst Documentation/translations/zh_CN/mm/overcommit-accounting.rst
··· 1 - :Original: Documentation/vm/overcommit-accounting.rst 1 + :Original: Documentation/mm/overcommit-accounting.rst 2 2 3 3 :翻译: 4 4
+1 -1
Documentation/translations/zh_CN/vm/page_frags.rst Documentation/translations/zh_CN/mm/page_frags.rst
··· 1 - :Original: Documentation/vm/page_frag.rst 1 + :Original: Documentation/mm/page_frag.rst 2 2 3 3 :翻译: 4 4
+1 -1
Documentation/translations/zh_CN/vm/page_owner.rst Documentation/translations/zh_CN/mm/page_owner.rst
··· 1 - :Original: Documentation/vm/page_owner.rst 1 + :Original: Documentation/mm/page_owner.rst 2 2 3 3 :翻译: 4 4
+1 -1
Documentation/translations/zh_CN/vm/page_table_check.rst Documentation/translations/zh_CN/mm/page_table_check.rst
··· 1 1 .. SPDX-License-Identifier: GPL-2.0 2 2 3 - :Original: Documentation/vm/page_table_check.rst 3 + :Original: Documentation/mm/page_table_check.rst 4 4 5 5 :翻译: 6 6
+1 -1
Documentation/translations/zh_CN/vm/remap_file_pages.rst Documentation/translations/zh_CN/mm/remap_file_pages.rst
··· 1 - :Original: Documentation/vm/remap_file_pages.rst 1 + :Original: Documentation/mm/remap_file_pages.rst 2 2 3 3 :翻译: 4 4
+1 -1
Documentation/translations/zh_CN/vm/split_page_table_lock.rst Documentation/translations/zh_CN/mm/split_page_table_lock.rst
··· 1 - :Original: Documentation/vm/split_page_table_lock.rst 1 + :Original: Documentation/mm/split_page_table_lock.rst 2 2 3 3 :翻译: 4 4
+1 -1
Documentation/translations/zh_CN/vm/z3fold.rst Documentation/translations/zh_CN/mm/z3fold.rst
··· 1 - :Original: Documentation/vm/z3fold.rst 1 + :Original: Documentation/mm/z3fold.rst 2 2 3 3 :翻译: 4 4
+1 -1
Documentation/translations/zh_CN/vm/zsmalloc.rst Documentation/translations/zh_CN/mm/zsmalloc.rst
··· 1 - :Original: Documentation/vm/zs_malloc.rst 1 + :Original: Documentation/mm/zs_malloc.rst 2 2 3 3 :翻译: 4 4
+1 -1
Documentation/translations/zh_TW/index.rst
··· 128 128 * security/index 129 129 * sound/index 130 130 * crypto/index 131 - * vm/index 131 + * mm/index 132 132 * bpf/index 133 133 * usb/index 134 134 * PCI/index
-3
Documentation/vm/.gitignore
··· 1 - # SPDX-License-Identifier: GPL-2.0-only 2 - page-types 3 - slabinfo
Documentation/vm/active_mm.rst Documentation/mm/active_mm.rst
Documentation/vm/arch_pgtable_helpers.rst Documentation/mm/arch_pgtable_helpers.rst
Documentation/vm/balance.rst Documentation/mm/balance.rst
Documentation/vm/bootmem.rst Documentation/mm/bootmem.rst
Documentation/vm/damon/api.rst Documentation/mm/damon/api.rst
Documentation/vm/damon/design.rst Documentation/mm/damon/design.rst
Documentation/vm/damon/faq.rst Documentation/mm/damon/faq.rst
Documentation/vm/damon/index.rst Documentation/mm/damon/index.rst
Documentation/vm/free_page_reporting.rst Documentation/mm/free_page_reporting.rst
Documentation/vm/frontswap.rst Documentation/mm/frontswap.rst
Documentation/vm/highmem.rst Documentation/mm/highmem.rst
Documentation/vm/hmm.rst Documentation/mm/hmm.rst
Documentation/vm/hugetlbfs_reserv.rst Documentation/mm/hugetlbfs_reserv.rst
Documentation/vm/hwpoison.rst Documentation/mm/hwpoison.rst
Documentation/vm/index.rst Documentation/mm/index.rst
Documentation/vm/ksm.rst Documentation/mm/ksm.rst
+1 -1
Documentation/vm/memory-model.rst Documentation/mm/memory-model.rst
··· 170 170 * hmm: Extend `ZONE_DEVICE` with `->page_fault()` and `->page_free()` 171 171 event callbacks to allow a device-driver to coordinate memory management 172 172 events related to device-memory, typically GPU memory. See 173 - Documentation/vm/hmm.rst. 173 + Documentation/mm/hmm.rst. 174 174 175 175 * p2pdma: Create `struct page` objects to allow peer devices in a 176 176 PCI/-E topology to coordinate direct-DMA operations between themselves,
Documentation/vm/mmu_notifier.rst Documentation/mm/mmu_notifier.rst
Documentation/vm/numa.rst Documentation/mm/numa.rst
Documentation/vm/oom.rst Documentation/mm/oom.rst
Documentation/vm/overcommit-accounting.rst Documentation/mm/overcommit-accounting.rst
Documentation/vm/page_allocation.rst Documentation/mm/page_allocation.rst
Documentation/vm/page_cache.rst Documentation/mm/page_cache.rst
Documentation/vm/page_frags.rst Documentation/mm/page_frags.rst
Documentation/vm/page_migration.rst Documentation/mm/page_migration.rst
Documentation/vm/page_owner.rst Documentation/mm/page_owner.rst
Documentation/vm/page_reclaim.rst Documentation/mm/page_reclaim.rst
Documentation/vm/page_table_check.rst Documentation/mm/page_table_check.rst
Documentation/vm/page_tables.rst Documentation/mm/page_tables.rst
Documentation/vm/physical_memory.rst Documentation/mm/physical_memory.rst
Documentation/vm/process_addrs.rst Documentation/mm/process_addrs.rst
Documentation/vm/remap_file_pages.rst Documentation/mm/remap_file_pages.rst
Documentation/vm/shmfs.rst Documentation/mm/shmfs.rst
Documentation/vm/slab.rst Documentation/mm/slab.rst
Documentation/vm/slub.rst Documentation/mm/slub.rst
Documentation/vm/split_page_table_lock.rst Documentation/mm/split_page_table_lock.rst
Documentation/vm/swap.rst Documentation/mm/swap.rst
Documentation/vm/transhuge.rst Documentation/mm/transhuge.rst
Documentation/vm/unevictable-lru.rst Documentation/mm/unevictable-lru.rst
Documentation/vm/vmalloc.rst Documentation/mm/vmalloc.rst
Documentation/vm/vmalloced-kernel-stacks.rst Documentation/mm/vmalloced-kernel-stacks.rst
Documentation/vm/vmemmap_dedup.rst Documentation/mm/vmemmap_dedup.rst
Documentation/vm/z3fold.rst Documentation/mm/z3fold.rst
Documentation/vm/zsmalloc.rst Documentation/mm/zsmalloc.rst
+6 -6
MAINTAINERS
··· 5526 5526 S: Maintained 5527 5527 F: Documentation/ABI/testing/sysfs-kernel-mm-damon 5528 5528 F: Documentation/admin-guide/mm/damon/ 5529 - F: Documentation/vm/damon/ 5529 + F: Documentation/mm/damon/ 5530 5530 F: include/linux/damon.h 5531 5531 F: include/trace/events/damon.h 5532 5532 F: mm/damon/ ··· 9037 9037 M: Jérôme Glisse <jglisse@redhat.com> 9038 9038 L: linux-mm@kvack.org 9039 9039 S: Maintained 9040 - F: Documentation/vm/hmm.rst 9040 + F: Documentation/mm/hmm.rst 9041 9041 F: include/linux/hmm* 9042 9042 F: lib/test_hmm* 9043 9043 F: mm/hmm* ··· 9135 9135 S: Maintained 9136 9136 F: Documentation/ABI/testing/sysfs-kernel-mm-hugepages 9137 9137 F: Documentation/admin-guide/mm/hugetlbpage.rst 9138 - F: Documentation/vm/hugetlbfs_reserv.rst 9139 - F: Documentation/vm/vmemmap_dedup.rst 9138 + F: Documentation/mm/hugetlbfs_reserv.rst 9139 + F: Documentation/mm/vmemmap_dedup.rst 9140 9140 F: fs/hugetlbfs/ 9141 9141 F: include/linux/hugetlb.h 9142 9142 F: mm/hugetlb.c ··· 15072 15072 M: Andrew Morton <akpm@linux-foundation.org> 15073 15073 L: linux-mm@kvack.org 15074 15074 S: Maintained 15075 - F: Documentation/vm/page_table_check.rst 15075 + F: Documentation/mm/page_table_check.rst 15076 15076 F: include/linux/page_table_check.h 15077 15077 F: mm/page_table_check.c 15078 15078 ··· 22158 22158 R: Sergey Senozhatsky <senozhatsky@chromium.org> 22159 22159 L: linux-mm@kvack.org 22160 22160 S: Maintained 22161 - F: Documentation/vm/zsmalloc.rst 22161 + F: Documentation/mm/zsmalloc.rst 22162 22162 F: include/linux/zsmalloc.h 22163 22163 F: mm/zsmalloc.c 22164 22164
+1 -1
arch/loongarch/Kconfig
··· 410 410 Say Y to support efficient handling of sparse physical memory, 411 411 for architectures which are either NUMA (Non-Uniform Memory Access) 412 412 or have huge holes in the physical address space for other reasons. 413 - See <file:Documentation/vm/numa.rst> for more. 413 + See <file:Documentation/mm/numa.rst> for more. 414 414 415 415 config ARCH_ENABLE_THP_MIGRATION 416 416 def_bool y
+1 -1
arch/powerpc/include/asm/book3s/64/pgtable.h
··· 1273 1273 * should return true. 1274 1274 * We should not call this on a hugetlb entry. We should check for HugeTLB 1275 1275 * entry using vma->vm_flags 1276 - * The page table walk rule is explained in Documentation/vm/transhuge.rst 1276 + * The page table walk rule is explained in Documentation/mm/transhuge.rst 1277 1277 */ 1278 1278 static inline int pmd_trans_huge(pmd_t pmd) 1279 1279 {
+2 -2
include/linux/hmm.h
··· 4 4 * 5 5 * Authors: Jérôme Glisse <jglisse@redhat.com> 6 6 * 7 - * See Documentation/vm/hmm.rst for reasons and overview of what HMM is. 7 + * See Documentation/mm/hmm.rst for reasons and overview of what HMM is. 8 8 */ 9 9 #ifndef LINUX_HMM_H 10 10 #define LINUX_HMM_H ··· 100 100 }; 101 101 102 102 /* 103 - * Please see Documentation/vm/hmm.rst for how to use the range API. 103 + * Please see Documentation/mm/hmm.rst for how to use the range API. 104 104 */ 105 105 int hmm_range_fault(struct hmm_range *range); 106 106
+1 -1
include/linux/memremap.h
··· 39 39 * must be treated as an opaque object, rather than a "normal" struct page. 40 40 * 41 41 * A more complete discussion of unaddressable memory may be found in 42 - * include/linux/hmm.h and Documentation/vm/hmm.rst. 42 + * include/linux/hmm.h and Documentation/mm/hmm.rst. 43 43 * 44 44 * MEMORY_DEVICE_FS_DAX: 45 45 * Host memory that has similar access semantics as System RAM i.e. DMA
+1 -1
include/linux/mmu_notifier.h
··· 198 198 * invalidate_range_start()/end() notifiers, as 199 199 * invalidate_range() already catches the points in time when an 200 200 * external TLB range needs to be flushed. For more in depth 201 - * discussion on this see Documentation/vm/mmu_notifier.rst 201 + * discussion on this see Documentation/mm/mmu_notifier.rst 202 202 * 203 203 * Note that this function might be called with just a sub-range 204 204 * of what was passed to invalidate_range_start()/end(), if
+2 -2
include/linux/sched/mm.h
··· 29 29 * 30 30 * Use mmdrop() to release the reference acquired by mmgrab(). 31 31 * 32 - * See also <Documentation/vm/active_mm.rst> for an in-depth explanation 32 + * See also <Documentation/mm/active_mm.rst> for an in-depth explanation 33 33 * of &mm_struct.mm_count vs &mm_struct.mm_users. 34 34 */ 35 35 static inline void mmgrab(struct mm_struct *mm) ··· 92 92 * 93 93 * Use mmput() to release the reference acquired by mmget(). 94 94 * 95 - * See also <Documentation/vm/active_mm.rst> for an in-depth explanation 95 + * See also <Documentation/mm/active_mm.rst> for an in-depth explanation 96 96 * of &mm_struct.mm_count vs &mm_struct.mm_users. 97 97 */ 98 98 static inline void mmget(struct mm_struct *mm)
+1 -1
include/linux/swap.h
··· 74 74 75 75 /* 76 76 * Unaddressable device memory support. See include/linux/hmm.h and 77 - * Documentation/vm/hmm.rst. Short description is we need struct pages for 77 + * Documentation/mm/hmm.rst. Short description is we need struct pages for 78 78 * device memory that is unaddressable (inaccessible) by CPU, so that we can 79 79 * migrate part of a process memory to device memory. 80 80 *
+1 -1
mm/Kconfig
··· 663 663 the many instances by a single page with that content, so 664 664 saving memory until one or another app needs to modify the content. 665 665 Recommended for use with KVM, or with other duplicative applications. 666 - See Documentation/vm/ksm.rst for more information: KSM is inactive 666 + See Documentation/mm/ksm.rst for more information: KSM is inactive 667 667 until a program has madvised that an area is MADV_MERGEABLE, and 668 668 root has set /sys/kernel/mm/ksm/run to 1 (if CONFIG_SYSFS is set). 669 669
+1 -1
mm/debug_vm_pgtable.c
··· 35 35 #include <asm/tlbflush.h> 36 36 37 37 /* 38 - * Please refer Documentation/vm/arch_pgtable_helpers.rst for the semantics 38 + * Please refer Documentation/mm/arch_pgtable_helpers.rst for the semantics 39 39 * expectations that are being validated here. All future changes in here 40 40 * or the documentation need to be in sync. 41 41 */
+1 -1
mm/frontswap.c
··· 4 4 * 5 5 * This code provides the generic "frontend" layer to call a matching 6 6 * "backend" driver implementation of frontswap. See 7 - * Documentation/vm/frontswap.rst for more information. 7 + * Documentation/mm/frontswap.rst for more information. 8 8 * 9 9 * Copyright (C) 2009-2012 Oracle Corp. All rights reserved. 10 10 * Author: Dan Magenheimer
+1 -1
mm/huge_memory.c
··· 1937 1937 * replacing a zero pmd write protected page with a zero pte write 1938 1938 * protected page. 1939 1939 * 1940 - * See Documentation/vm/mmu_notifier.rst 1940 + * See Documentation/mm/mmu_notifier.rst 1941 1941 */ 1942 1942 pmdp_huge_clear_flush(vma, haddr, pmd); 1943 1943
+3 -3
mm/hugetlb.c
··· 4875 4875 * table protection not changing it to point 4876 4876 * to a new page. 4877 4877 * 4878 - * See Documentation/vm/mmu_notifier.rst 4878 + * See Documentation/mm/mmu_notifier.rst 4879 4879 */ 4880 4880 huge_ptep_set_wrprotect(src, addr, src_pte); 4881 4881 entry = huge_pte_wrprotect(entry); ··· 6403 6403 * No need to call mmu_notifier_invalidate_range() we are downgrading 6404 6404 * page table protection not changing it to point to a new page. 6405 6405 * 6406 - * See Documentation/vm/mmu_notifier.rst 6406 + * See Documentation/mm/mmu_notifier.rst 6407 6407 */ 6408 6408 i_mmap_unlock_write(vma->vm_file->f_mapping); 6409 6409 mmu_notifier_invalidate_range_end(&range); ··· 7102 7102 i_mmap_unlock_write(vma->vm_file->f_mapping); 7103 7103 /* 7104 7104 * No need to call mmu_notifier_invalidate_range(), see 7105 - * Documentation/vm/mmu_notifier.rst. 7105 + * Documentation/mm/mmu_notifier.rst. 7106 7106 */ 7107 7107 mmu_notifier_invalidate_range_end(&range); 7108 7108 }
+1 -1
mm/hugetlb_vmemmap.c
··· 6 6 * 7 7 * Author: Muchun Song <songmuchun@bytedance.com> 8 8 * 9 - * See Documentation/vm/vmemmap_dedup.rst 9 + * See Documentation/mm/vmemmap_dedup.rst 10 10 */ 11 11 #define pr_fmt(fmt) "HugeTLB: " fmt 12 12
+2 -2
mm/ksm.c
··· 1083 1083 * No need to notify as we are downgrading page table to read 1084 1084 * only not changing it to point to a new page. 1085 1085 * 1086 - * See Documentation/vm/mmu_notifier.rst 1086 + * See Documentation/mm/mmu_notifier.rst 1087 1087 */ 1088 1088 entry = ptep_clear_flush(vma, pvmw.address, pvmw.pte); 1089 1089 /* ··· 1186 1186 * No need to notify as we are replacing a read only page with another 1187 1187 * read only page with the same content. 1188 1188 * 1189 - * See Documentation/vm/mmu_notifier.rst 1189 + * See Documentation/mm/mmu_notifier.rst 1190 1190 */ 1191 1191 ptep_clear_flush(vma, addr, ptep); 1192 1192 set_pte_at_notify(mm, addr, ptep, newpte);
+1 -1
mm/mmap.c
··· 2944 2944 unsigned long ret = -EINVAL; 2945 2945 struct file *file; 2946 2946 2947 - pr_warn_once("%s (%d) uses deprecated remap_file_pages() syscall. See Documentation/vm/remap_file_pages.rst.\n", 2947 + pr_warn_once("%s (%d) uses deprecated remap_file_pages() syscall. See Documentation/mm/remap_file_pages.rst.\n", 2948 2948 current->comm, current->pid); 2949 2949 2950 2950 if (prot)
+4 -4
mm/rmap.c
··· 999 999 * downgrading page table protection not changing it to point 1000 1000 * to a new page. 1001 1001 * 1002 - * See Documentation/vm/mmu_notifier.rst 1002 + * See Documentation/mm/mmu_notifier.rst 1003 1003 */ 1004 1004 if (ret) 1005 1005 cleaned++; ··· 1765 1765 * to point at a new folio while a device is 1766 1766 * still using this folio. 1767 1767 * 1768 - * See Documentation/vm/mmu_notifier.rst 1768 + * See Documentation/mm/mmu_notifier.rst 1769 1769 */ 1770 1770 dec_mm_counter(mm, mm_counter_file(&folio->page)); 1771 1771 } ··· 1775 1775 * done above for all cases requiring it to happen under page 1776 1776 * table lock before mmu_notifier_invalidate_range_end() 1777 1777 * 1778 - * See Documentation/vm/mmu_notifier.rst 1778 + * See Documentation/mm/mmu_notifier.rst 1779 1779 */ 1780 1780 page_remove_rmap(subpage, vma, folio_test_hugetlb(folio)); 1781 1781 if (vma->vm_flags & VM_LOCKED) ··· 2093 2093 * done above for all cases requiring it to happen under page 2094 2094 * table lock before mmu_notifier_invalidate_range_end() 2095 2095 * 2096 - * See Documentation/vm/mmu_notifier.rst 2096 + * See Documentation/mm/mmu_notifier.rst 2097 2097 */ 2098 2098 page_remove_rmap(subpage, vma, folio_test_hugetlb(folio)); 2099 2099 if (vma->vm_flags & VM_LOCKED)
+1 -1
mm/sparse-vmemmap.c
··· 752 752 753 753 /* 754 754 * Reuse the previous page for the rest of tail pages 755 - * See layout diagram in Documentation/vm/vmemmap_dedup.rst 755 + * See layout diagram in Documentation/mm/vmemmap_dedup.rst 756 756 */ 757 757 next += PAGE_SIZE; 758 758 rc = vmemmap_populate_range(next, last, node, NULL,
+1 -1
mm/util.c
··· 1005 1005 * succeed and -ENOMEM implies there is not. 1006 1006 * 1007 1007 * We currently support three overcommit policies, which are set via the 1008 - * vm.overcommit_memory sysctl. See Documentation/vm/overcommit-accounting.rst 1008 + * vm.overcommit_memory sysctl. See Documentation/mm/overcommit-accounting.rst 1009 1009 * 1010 1010 * Strict overcommit modes added 2002 Feb 26 by Alan Cox. 1011 1011 * Additional code 2002 Jul 20 by Robert Love.
+1 -1
tools/vm/page_owner_sort.c
··· 8 8 * Or sort by total memory: 9 9 * ./page_owner_sort -m page_owner_full.txt sorted_page_owner.txt 10 10 * 11 - * See Documentation/vm/page_owner.rst 11 + * See Documentation/mm/page_owner.rst 12 12 */ 13 13 14 14 #include <stdio.h>