ioctl_userfaultfd.2, madvise.2, memfd_create.2, migrate_pages.2, mmap.2, shmget.2, subpage_prot.2, userfaultfd.2, malloc.3, proc.5, sysfs.5, tmpfs.5: Update paths for in-kernel memory management documentation files

Signed-off-by: Mike Rapoport <rppt@linux.ibm.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Mike Rapoport 2018-11-16 13:14:56 -08:00 committed by Michael Kerrisk
parent d893df00d9
commit a2463bae6f
12 changed files with 24 additions and 24 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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)"

View File

@ -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)"

View File

@ -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

View File

@ -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

View File

@ -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 ()

View File

@ -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

View File

@ -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

View File

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