Commit 87eae260 authored by Mike Rapoport (IBM)'s avatar Mike Rapoport (IBM) Committed by Jonathan Corbet

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

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: default avatarkernel test robot <lkp@intel.com>
Link: https://lore.kernel.org/oe-kbuild-all/202302231854.sKlCmx9K-lkp@intel.com/
Fixes: ee865889 ("docs/mm: remove useless markup")
Signed-off-by: default avatarMike Rapoport (IBM) <rppt@kernel.org>
Link: https://lore.kernel.org/r/20230224100306.2287696-2-rppt@kernel.orgSigned-off-by: default avatarJonathan Corbet <corbet@lwn.net>
parent 3b80a03d
...@@ -5,10 +5,10 @@ Hugetlbfs Reservation ...@@ -5,10 +5,10 @@ Hugetlbfs Reservation
Overview Overview
======== ========
Huge pages as described at Documentation/mm/hugetlbpage.rst are typically Huge pages as described at Documentation/admin-guide/mm/hugetlbpage.rst are
preallocated for application use. These huge pages are instantiated in a typically preallocated for application use. These huge pages are instantiated
task's address space at page fault time if the VMA indicates huge pages are in a task's address space at page fault time if the VMA indicates huge pages
to be used. If no huge page exists at page fault time, the task is sent 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 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 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 of huge pages at mmap() time. The idea is that if there were not enough
......
...@@ -15,7 +15,8 @@ Hugetlbfs 预留 ...@@ -15,7 +15,8 @@ Hugetlbfs 预留
概述 概述
==== ====
Documentation/mm/hugetlbpage.rst 中描述的巨页通常是预先分配给应用程序使用的。如果VMA指 Documentation/admin-guide/mm/hugetlbpage.rst
中描述的巨页通常是预先分配给应用程序使用的 。如果VMA指
示要使用巨页,这些巨页会在缺页异常时被实例化到任务的地址空间。如果在缺页异常 示要使用巨页,这些巨页会在缺页异常时被实例化到任务的地址空间。如果在缺页异常
时没有巨页存在,任务就会被发送一个SIGBUS,并经常不高兴地死去。在加入巨页支 时没有巨页存在,任务就会被发送一个SIGBUS,并经常不高兴地死去。在加入巨页支
持后不久,人们决定,在mmap()时检测巨页的短缺情况会更好。这个想法是,如果 持后不久,人们决定,在mmap()时检测巨页的短缺情况会更好。这个想法是,如果
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment