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

Configure Feed

Select the types of activity you want to include in your feed.

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: 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>
Link: https://lore.kernel.org/r/20230224100306.2287696-2-rppt@kernel.org
Signed-off-by: Jonathan Corbet <corbet@lwn.net>

authored by

Mike Rapoport (IBM) and committed by
Jonathan Corbet
87eae260 3b80a03d

+6 -5
+4 -4
Documentation/mm/hugetlbfs_reserv.rst
··· 5 5 Overview 6 6 ======== 7 7 8 - Huge pages as described at Documentation/mm/hugetlbpage.rst are typically 9 - preallocated for application use. These huge pages are instantiated in a 10 - task's address space at page fault time if the VMA indicates huge pages are 11 - to be used. If no huge page exists at page fault time, the task is sent 8 + Huge pages as described at Documentation/admin-guide/mm/hugetlbpage.rst are 9 + typically preallocated for application use. These huge pages are instantiated 10 + in a task's address space at page fault time if the VMA indicates huge pages 11 + are to be used. If no huge page exists at page fault time, the task is sent 12 12 a SIGBUS and often dies an unhappy death. Shortly after huge page support 13 13 was added, it was determined that it would be better to detect a shortage 14 14 of huge pages at mmap() time. The idea is that if there were not enough
+2 -1
Documentation/translations/zh_CN/mm/hugetlbfs_reserv.rst
··· 15 15 概述 16 16 ==== 17 17 18 - Documentation/mm/hugetlbpage.rst 中描述的巨页通常是预先分配给应用程序使用的。如果VMA指 18 + Documentation/admin-guide/mm/hugetlbpage.rst 19 + 中描述的巨页通常是预先分配给应用程序使用的 。如果VMA指 19 20 示要使用巨页,这些巨页会在缺页异常时被实例化到任务的地址空间。如果在缺页异常 20 21 时没有巨页存在,任务就会被发送一个SIGBUS,并经常不高兴地死去。在加入巨页支 21 22 持后不久,人们决定,在mmap()时检测巨页的短缺情况会更好。这个想法是,如果