Skip to contentSkip to conversation

docs/mm: Physical Memory: fix a reference to a file that doesn't exist

PATCH In review Mike Rapoport 2 participants 3 messages Feb 24, 2023 – Mar 7, 2023

Subsystems (5)
lore
Share & tools
lore

Mike Rapoport

author reviewer
#0 lore raw

PATCH 1/2 docs/mm: Physical Memory: fix a reference to a file that doesn't exist

From: "Mike Rapoport (IBM)" <[email protected]>

kbuild reports:

Quoted 1 line
Quoted 1 line

Warning: Documentation/mm/physical_memory.rst references a file that doesn't exist: Documentation/admin-guide/mm/memory_hotplug.rst

Fix the filename to be 'Documentation/admin-guide/mm/memory-hotplug.rst'.

Fixes 353c7dd636ed ("docs/mm: Physical Memory: remove useless markup")
---
 Documentation/mm/physical_memory.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/mm/physical_memory.rst +1 -1
index f9d7ea4b9dca..1bc888d36ea1 100644
@@ -66,7 +66,7 @@ one of the types described below.
   also populated on boot using one of ``kernelcore``, ``movablecore`` and
   ``movable_node`` kernel command line parameters. See
   Documentation/mm/page_migration.rst and
-  Documentation/admin-guide/mm/memory_hotplug.rst for additional details.
+  Documentation/admin-guide/mm/memory-hotplug.rst for additional details.
 
 * ``ZONE_DEVICE`` represents memory residing on devices such as PMEM and GPU.
   It has different characteristics than RAM zone types and it exists to provide
Signature · 1 line
2.35.1
author reviewer
#1 lore raw

PATCH 2/2 docs/mm: hugetlbfs_reserv: fix a reference to a file that doesn't exist

From: "Mike Rapoport (IBM)" <[email protected]>

kbuild reports:

Quoted 2 lines
Quoted 2 lines

Warning: Documentation/mm/hugetlbfs_reserv.rst references a file that doesn't exist: Documentation/mm/hugetlbpage.rst
Warning: Documentation/translations/zh_CN/mm/hugetlbfs_reserv.rst references a file that doesn't exist: Documentation/mm/hugetlbpage.rst

Fix the filename to be 'Documentation/admin-guide/mm/hugetlbpage.rst'.

---
 Documentation/mm/hugetlbfs_reserv.rst                    | 8 ++++----
 Documentation/translations/zh_CN/mm/hugetlbfs_reserv.rst | 3 ++-
 2 files changed, 6 insertions(+), 5 deletions(-)
Documentation/mm/hugetlbfs_reserv.rst +4 -4
index 05a44760da32..f2fdcd637f97 100644
@@ -5,10 +5,10 @@ Hugetlbfs Reservation
 Overview
 ========
 
-Huge pages as described at Documentation/mm/hugetlbpage.rst are typically
-preallocated for application use.  These huge pages are instantiated in a
-task's address space at page fault time if the VMA indicates huge pages are
-to be used.  If no huge page exists at page fault time, the task is sent
+Huge pages as described at Documentation/admin-guide/mm/hugetlbpage.rst are
+typically preallocated for application use.  These huge pages are instantiated
+in a task's address space at page fault time if the VMA indicates huge pages
+are to be used.  If no huge page exists at page fault time, the task is sent
 a SIGBUS and often dies an unhappy death.  Shortly after huge page support
 was added, it was determined that it would be better to detect a shortage
 of huge pages at mmap() time.  The idea is that if there were not enough
Documentation/translations/zh_CN/mm/hugetlbfs_reserv.rst +2 -1
index 80787af29222..f1f0bdf27676 100644
@@ -15,7 +15,8 @@ Hugetlbfs 预留
 概述
 ====
 
-Documentation/mm/hugetlbpage.rst 中描述的巨页通常是预先分配给应用程序使用的。如果VMA指
+Documentation/admin-guide/mm/hugetlbpage.rst
+中描述的巨页通常是预先分配给应用程序使用的 。如果VMA指
 示要使用巨页,这些巨页会在缺页异常时被实例化到任务的地址空间。如果在缺页异常
 时没有巨页存在,任务就会被发送一个SIGBUS,并经常不高兴地死去。在加入巨页支
 持后不久,人们决定,在mmap()时检测巨页的短缺情况会更好。这个想法是,如果
Signature · 1 line
2.35.1
maintainer
#2 lore raw
In reply to Mike Rapoport
Quoted 8 lines · Mike Rapoport

From: "Mike Rapoport (IBM)" <[email protected]>

kbuild reports:

Quoted 1 line
Quoted 1 line

Warning: Documentation/mm/physical_memory.rst references a file that doesn't exist: Documentation/admin-guide/mm/memory_hotplug.rst

Fix the filename to be 'Documentation/admin-guide/mm/memory-hotplug.rst'.

Quoted 7 lines
Fixes 353c7dd636ed ("docs/mm: Physical Memory: remove useless markup")
---
 Documentation/mm/physical_memory.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Both patches applied, thanks.

jon