On 11/16/18 10:14 PM, Mike Rapoport wrote: > Signed-off-by: Mike Rapoport <rppt@xxxxxxxxxxxxx> Thanks, Mike. Patch applied. Cheers, Michael > --- > man2/ioctl_userfaultfd.2 | 2 +- > man2/madvise.2 | 4 ++-- > man2/memfd_create.2 | 2 +- > man2/migrate_pages.2 | 2 +- > man2/mmap.2 | 2 +- > man2/shmget.2 | 2 +- > man2/subpage_prot.2 | 2 +- > man2/userfaultfd.2 | 2 +- > man3/malloc.3 | 2 +- > man5/proc.5 | 24 ++++++++++++------------ > man5/sysfs.5 | 2 +- > man5/tmpfs.5 | 2 +- > 12 files changed, 24 insertions(+), 24 deletions(-) > > diff --git a/man2/ioctl_userfaultfd.2 b/man2/ioctl_userfaultfd.2 > index 5f3700b..922b298 100644 > --- a/man2/ioctl_userfaultfd.2 > +++ b/man2/ioctl_userfaultfd.2 > @@ -687,5 +687,5 @@ See > .BR mmap (2), > .BR userfaultfd (2) > .PP > -.IR Documentation/vm/userfaultfd.txt > +.IR Documentation/admin-guide/mm/userfaultfd.rst > in the Linux kernel source tree > diff --git a/man2/madvise.2 b/man2/madvise.2 > index c3b894d..eb82a57 100644 > --- a/man2/madvise.2 > +++ b/man2/madvise.2 > @@ -278,7 +278,7 @@ The KSM feature is intended for applications that generate many > instances of the same data (e.g., virtualization systems such as KVM). > It can consume a lot of processing power; use with care. > See the Linux kernel source file > -.I Documentation/vm/ksm.txt > +.I Documentation/admin-guide/mm/ksm.rst > for more details. > .IP > The > @@ -339,7 +339,7 @@ systems such as QEMU). > It can very easily waste memory (e.g., a 2\ MB mapping that only ever accesses > 1 byte will result in 2\ MB of wired memory instead of one 4\ KB page). > See the Linux kernel source file > -.I Documentation/vm/transhuge.txt > +.I Documentation/admin-guide/mm/transhuge.rst > for more details. > .IP > The > diff --git a/man2/memfd_create.2 b/man2/memfd_create.2 > index 73a501d..3cd392d 100644 > --- a/man2/memfd_create.2 > +++ b/man2/memfd_create.2 > @@ -105,7 +105,7 @@ meaning that no other seals can be set on the file. > The anonymous file will be created in the hugetlbfs filesystem using > huge pages. > See the Linux kernel source file > -.I Documentation/vm/hugetlbpage.txt > +.I Documentation/admin-guide/mm/hugetlbpage.rst > for more information about hugetlbfs. > .\" commit 47b9012ecdc747f6936395265e677d41e11a31ff > Specifying both > diff --git a/man2/migrate_pages.2 b/man2/migrate_pages.2 > index 26d0b55..d3effc2 100644 > --- a/man2/migrate_pages.2 > +++ b/man2/migrate_pages.2 > @@ -180,5 +180,5 @@ or a similar package. > .BR migratepages (8), > .BR numastat (8) > .PP > -.IR Documentation/vm/page_migration > +.IR Documentation/vm/page_migration.rst > in the Linux kernel source tree > diff --git a/man2/mmap.2 b/man2/mmap.2 > index a8ec647..fccfb9b 100644 > --- a/man2/mmap.2 > +++ b/man2/mmap.2 > @@ -306,7 +306,7 @@ signal. > .BR MAP_HUGETLB " (since Linux 2.6.32)" > Allocate the mapping using "huge pages." > See the Linux kernel source file > -.I Documentation/vm/hugetlbpage.txt > +.I Documentation/admin-guide/mm/hugetlbpage.rst > for further information, as well as NOTES, below. > .TP > .BR MAP_HUGE_2MB ", " MAP_HUGE_1GB " (since Linux 3.8)" > diff --git a/man2/shmget.2 b/man2/shmget.2 > index ba89da1..adc839f 100644 > --- a/man2/shmget.2 > +++ b/man2/shmget.2 > @@ -118,7 +118,7 @@ If the segment already exists, the call fails. > .BR SHM_HUGETLB " (since Linux 2.6)" > Allocate the segment using "huge pages." > See the Linux kernel source file > -.I Documentation/vm/hugetlbpage.txt > +.I Documentation/admin-guide/mm/hugetlbpage.rst > for further information. > .TP > .BR SHM_HUGE_2MB ", " SHM_HUGE_1GB " (since Linux 3.8)" > diff --git a/man2/subpage_prot.2 b/man2/subpage_prot.2 > index 58598f0..c75675d 100644 > --- a/man2/subpage_prot.2 > +++ b/man2/subpage_prot.2 > @@ -129,5 +129,5 @@ hardware pages (on machines with hardware 64-kB page support). > .BR mprotect (2), > .BR syscall (2) > .PP > -.IR Documentation/vm/hugetlbpage.txt > +.IR Documentation/admin-guide/mm/hugetlbpage.rst > in the Linux kernel source tree > diff --git a/man2/userfaultfd.2 b/man2/userfaultfd.2 > index d81e9a5..e1a8343 100644 > --- a/man2/userfaultfd.2 > +++ b/man2/userfaultfd.2 > @@ -756,6 +756,6 @@ main(int argc, char *argv[]) > .BR madvise (2), > .BR mmap (2) > .PP > -.IR Documentation/vm/userfaultfd.txt > +.IR Documentation/admin-guide/mm/userfaultfd.rst > in the Linux kernel source tree > .PP > diff --git a/man3/malloc.3 b/man3/malloc.3 > index a74b94e..c68dcf5 100644 > --- a/man3/malloc.3 > +++ b/man3/malloc.3 > @@ -291,7 +291,7 @@ and > in > .BR proc (5), > and the Linux kernel source file > -.IR Documentation/vm/overcommit-accounting . > +.IR Documentation/vm/overcommit-accounting.rst . > .PP > Normally, > .BR malloc () > diff --git a/man5/proc.5 b/man5/proc.5 > index 5d315c1..d5cc40c 100644 > --- a/man5/proc.5 > +++ b/man5/proc.5 > @@ -3275,7 +3275,7 @@ The bits are as follows: > .IP > For further details on the meanings of these bits, > see the kernel source file > -.IR Documentation/vm/pagemap.txt . > +.IR Documentation/admin-guide/mm/pagemap.rst . > Before kernel 2.6.29, > .\" commit ad3bdefe877afb47480418fdb05ecd42842de65e > .\" commit e07a4b9217d1e97d2f3a62b6b070efdc61212110 > @@ -3608,7 +3608,7 @@ only if strict overcommit accounting is enabled (mode 2 in > The limit is calculated according to the formula described under > .IR /proc/sys/vm/overcommit_memory . > For further details, see the kernel source file > -.IR Documentation/vm/overcommit-accounting . > +.IR Documentation/vm/overcommit-accounting.rst . > .TP > .IR Committed_AS " %lu" > The amount of memory presently allocated on the system. > @@ -6413,7 +6413,7 @@ Number of free CMA (Contiguous Memory Allocator) pages. > .IR compact_stall " (since Linux 2.6.35)" > .\" commit 56de7263fcf3eb10c8dcdf8d59a9cec831795f3f > See the kernel source file > -.IR Documentation/vm/transhuge.txt . > +.IR Documentation/admin-guide/mm/transhuge.rst . > .\" Present only if the kernel was configured with > .\" .BR CONFIG_VM_EVENT_COUNTERS > .\" and > @@ -6422,7 +6422,7 @@ See the kernel source file > .IR compact_fail " (since Linux 2.6.35)" > .\" commit 56de7263fcf3eb10c8dcdf8d59a9cec831795f3f > See the kernel source file > -.IR Documentation/vm/transhuge.txt . > +.IR Documentation/admin-guide/mm/transhuge.rst . > .\" Present only if the kernel was configured with > .\" .BR CONFIG_VM_EVENT_COUNTERS > .\" and > @@ -6431,7 +6431,7 @@ See the kernel source file > .IR compact_success " (since Linux 2.6.35)" > .\" commit 56de7263fcf3eb10c8dcdf8d59a9cec831795f3f > See the kernel source file > -.IR Documentation/vm/transhuge.txt . > +.IR Documentation/admin-guide/mm/transhuge.rst . > .\" Present only if the kernel was configured with > .\" .BR CONFIG_VM_EVENT_COUNTERS > .\" and > @@ -6490,7 +6490,7 @@ See the kernel source file > .IR thp_fault_alloc " (since Linux 2.6.39)" > .\" commit 81ab4201fb7d91d6b0cd9ad5b4b16776e4bed145 > See the kernel source file > -.IR Documentation/vm/transhuge.txt . > +.IR Documentation/admin-guide/mm/transhuge.rst . > .\" Present only if the kernel was configured with > .\" .BR CONFIG_VM_EVENT_COUNTERS > .\" and > @@ -6499,7 +6499,7 @@ See the kernel source file > .IR thp_fault_fallback " (since Linux 2.6.39)" > .\" commit 81ab4201fb7d91d6b0cd9ad5b4b16776e4bed145 > See the kernel source file > -.IR Documentation/vm/transhuge.txt . > +.IR Documentation/admin-guide/mm/transhuge.rst . > .\" Present only if the kernel was configured with > .\" .BR CONFIG_VM_EVENT_COUNTERS > .\" and > @@ -6508,7 +6508,7 @@ See the kernel source file > .IR thp_collapse_alloc " (since Linux 2.6.39)" > .\" commit 81ab4201fb7d91d6b0cd9ad5b4b16776e4bed145 > See the kernel source file > -.IR Documentation/vm/transhuge.txt . > +.IR Documentation/admin-guide/mm/transhuge.rst . > .\" Present only if the kernel was configured with > .\" .BR CONFIG_VM_EVENT_COUNTERS > .\" and > @@ -6517,7 +6517,7 @@ See the kernel source file > .IR thp_collapse_alloc_failed " (since Linux 2.6.39)" > .\" commit 81ab4201fb7d91d6b0cd9ad5b4b16776e4bed145 > See the kernel source file > -.IR Documentation/vm/transhuge.txt . > +.IR Documentation/admin-guide/mm/transhuge.rst . > .\" Present only if the kernel was configured with > .\" .BR CONFIG_VM_EVENT_COUNTERS > .\" and > @@ -6526,7 +6526,7 @@ See the kernel source file > .IR thp_split " (since Linux 2.6.39)" > .\" commit 81ab4201fb7d91d6b0cd9ad5b4b16776e4bed145 > See the kernel source file > -.IR Documentation/vm/transhuge.txt . > +.IR Documentation/admin-guide/mm/transhuge.rst . > .\" Present only if the kernel was configured with > .\" .BR CONFIG_VM_EVENT_COUNTERS > .\" and > @@ -6535,7 +6535,7 @@ See the kernel source file > .IR thp_zero_page_alloc " (since Linux 3.8)" > .\" commit d8a8e1f0da3d29d7268b3300c96a059d63901b76 > See the kernel source file > -.IR Documentation/vm/transhuge.txt . > +.IR Documentation/admin-guide/mm/transhuge.rst . > .\" Present only if the kernel was configured with > .\" .BR CONFIG_VM_EVENT_COUNTERS > .\" and > @@ -6544,7 +6544,7 @@ See the kernel source file > .IR thp_zero_page_alloc_failed " (since Linux 3.8)" > .\" commit d8a8e1f0da3d29d7268b3300c96a059d63901b76 > See the kernel source file > -.IR Documentation/vm/transhuge.txt . > +.IR Documentation/admin-guide/mm/transhuge.rst . > .\" Present only if the kernel was configured with > .\" .BR CONFIG_VM_EVENT_COUNTERS > .\" and > diff --git a/man5/sysfs.5 b/man5/sysfs.5 > index 3efd368..52ee967 100644 > --- a/man5/sysfs.5 > +++ b/man5/sysfs.5 > @@ -210,7 +210,7 @@ Within each of these subdirectories is a set of files > that can be used to view and (in some cases) change settings > associated with that huge page size. > For further information, see the kernel source file > -.IR Documentation/vm/hugetlbpage.txt . > +.IR Documentation/admin-guide/mm/hugetlbpage.rst . > .TP > .IR /sys/module > This subdirectory contains one subdirectory > diff --git a/man5/tmpfs.5 b/man5/tmpfs.5 > index 324f81d..b04b87f 100644 > --- a/man5/tmpfs.5 > +++ b/man5/tmpfs.5 > @@ -284,4 +284,4 @@ facility was formerly called > The kernel source files > .IR Documentation/filesystems/tmpfs.txt > and > -.IR Documentation/vm/transhuge.txt . > +.IR Documentation/admin-guide/mm/transhuge.rst . > -- Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/