linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] docs/mm: Physical Memory: fix a reference to a file that doesn't exist
@ 2023-02-24 10:03 Mike Rapoport
  2023-02-24 10:03 ` [PATCH 2/2] docs/mm: hugetlbfs_reserv: " Mike Rapoport
  2023-03-07 17:32 ` [PATCH 1/2] docs/mm: Physical Memory: " Jonathan Corbet
  0 siblings, 2 replies; 3+ messages in thread
From: Mike Rapoport @ 2023-02-24 10:03 UTC (permalink / raw)
  To: Jonathan Corbet
  Cc: kernel test robot, Mike Rapoport, linux-mm, linux-doc, linux-kernel

From: "Mike Rapoport (IBM)" <rppt@kernel.org>

kbuild reports:

>> 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'.

Reported-by: kernel test robot <lkp@intel.com>
Link: https://lore.kernel.org/oe-kbuild-all/202302231311.567PAoS2-lkp@intel.com/
Fixes: 353c7dd636ed ("docs/mm: Physical Memory: remove useless markup")
Signed-off-by: Mike Rapoport (IBM) <rppt@kernel.org>
---
 Documentation/mm/physical_memory.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/mm/physical_memory.rst b/Documentation/mm/physical_memory.rst
index f9d7ea4b9dca..1bc888d36ea1 100644
--- a/Documentation/mm/physical_memory.rst
+++ b/Documentation/mm/physical_memory.rst
@@ -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
-- 
2.35.1



^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 2/2] docs/mm: hugetlbfs_reserv: fix a reference to a file that doesn't exist
  2023-02-24 10:03 [PATCH 1/2] docs/mm: Physical Memory: fix a reference to a file that doesn't exist Mike Rapoport
@ 2023-02-24 10:03 ` Mike Rapoport
  2023-03-07 17:32 ` [PATCH 1/2] docs/mm: Physical Memory: " Jonathan Corbet
  1 sibling, 0 replies; 3+ messages in thread
From: Mike Rapoport @ 2023-02-24 10:03 UTC (permalink / raw)
  To: Jonathan Corbet
  Cc: kernel test robot, Mike Rapoport, linux-mm, linux-doc, linux-kernel

From: "Mike Rapoport (IBM)" <rppt@kernel.org>

kbuild reports:

>> 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'.

Reported-by: kernel test robot <lkp@intel.com>
Link: https://lore.kernel.org/oe-kbuild-all/202302231854.sKlCmx9K-lkp@intel.com/
Fixes: ee86588960e2 ("docs/mm: remove useless markup")
Signed-off-by: Mike Rapoport (IBM) <rppt@kernel.org>
---
 Documentation/mm/hugetlbfs_reserv.rst                    | 8 ++++----
 Documentation/translations/zh_CN/mm/hugetlbfs_reserv.rst | 3 ++-
 2 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/Documentation/mm/hugetlbfs_reserv.rst b/Documentation/mm/hugetlbfs_reserv.rst
index 05a44760da32..f2fdcd637f97 100644
--- a/Documentation/mm/hugetlbfs_reserv.rst
+++ b/Documentation/mm/hugetlbfs_reserv.rst
@@ -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
diff --git a/Documentation/translations/zh_CN/mm/hugetlbfs_reserv.rst b/Documentation/translations/zh_CN/mm/hugetlbfs_reserv.rst
index 80787af29222..f1f0bdf27676 100644
--- a/Documentation/translations/zh_CN/mm/hugetlbfs_reserv.rst
+++ b/Documentation/translations/zh_CN/mm/hugetlbfs_reserv.rst
@@ -15,7 +15,8 @@ Hugetlbfs 预留
 概述
 ====
 
-Documentation/mm/hugetlbpage.rst 中描述的巨页通常是预先分配给应用程序使用的。如果VMA指
+Documentation/admin-guide/mm/hugetlbpage.rst
+中描述的巨页通常是预先分配给应用程序使用的 。如果VMA指
 示要使用巨页,这些巨页会在缺页异常时被实例化到任务的地址空间。如果在缺页异常
 时没有巨页存在,任务就会被发送一个SIGBUS,并经常不高兴地死去。在加入巨页支
 持后不久,人们决定,在mmap()时检测巨页的短缺情况会更好。这个想法是,如果
-- 
2.35.1



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/2] docs/mm: Physical Memory: fix a reference to a file that doesn't exist
  2023-02-24 10:03 [PATCH 1/2] docs/mm: Physical Memory: fix a reference to a file that doesn't exist Mike Rapoport
  2023-02-24 10:03 ` [PATCH 2/2] docs/mm: hugetlbfs_reserv: " Mike Rapoport
@ 2023-03-07 17:32 ` Jonathan Corbet
  1 sibling, 0 replies; 3+ messages in thread
From: Jonathan Corbet @ 2023-03-07 17:32 UTC (permalink / raw)
  To: Mike Rapoport
  Cc: kernel test robot, Mike Rapoport, linux-mm, linux-doc, linux-kernel

Mike Rapoport <rppt@kernel.org> writes:

> From: "Mike Rapoport (IBM)" <rppt@kernel.org>
>
> kbuild reports:
>
>>> 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'.
>
> Reported-by: kernel test robot <lkp@intel.com>
> Link: https://lore.kernel.org/oe-kbuild-all/202302231311.567PAoS2-lkp@intel.com/
> Fixes: 353c7dd636ed ("docs/mm: Physical Memory: remove useless markup")
> Signed-off-by: Mike Rapoport (IBM) <rppt@kernel.org>
> ---
>  Documentation/mm/physical_memory.rst | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Both patches applied, thanks.

jon


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-03-07 17:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-24 10:03 [PATCH 1/2] docs/mm: Physical Memory: fix a reference to a file that doesn't exist Mike Rapoport
2023-02-24 10:03 ` [PATCH 2/2] docs/mm: hugetlbfs_reserv: " Mike Rapoport
2023-03-07 17:32 ` [PATCH 1/2] docs/mm: Physical Memory: " Jonathan Corbet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox