summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Hubbard <jhubbard@nvidia.com>2023-07-18 19:05:33 -0700
committerAlejandro Colomar <alx@kernel.org>2023-07-28 20:59:03 +0200
commit80e3024bde68ee3fa55cfd87728b81f94ec931df (patch)
tree1f25da4ec16b397a378403486b763931c237d5e6
parent9e54434eade8afb70ed271b23643d020c1cb3402 (diff)
tmpfs.5: Update reference to CONFIG_TRANSPARENT_HUGEPAGE
In commit 462a385e9a2 ("tmpfs.5: Document current mount options"), there is a reference to CONFIG_TRANSPARENT_HUGE_PAGECACHE. However, that option was removed from the kernel via commit 396bcc5299c2 ("mm: remove CONFIG_TRANSPARENT_HUGE_PAGECACHE"), a couple of years later. The net effect is that CONFIG_TRANSPARENT_HUGEPAGE is now used in all the remaining places in the kernel where CONFIG_TRANSPARENT_HUGE_PAGECACHE had previously been used. This has caused some minor confusion at the man page level, though. So let's fix it by updating the man page to refer to CONFIG_TRANSPARENT_HUGEPAGE. Reported-by: Vahid Noormofidi <vnoormof@nvidia.com> Cc: Matthew Wilcox (Oracle) <willy@infradead.org> Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com> Cc: Andrew Morton <akpm@linux-foundation.org> Cc: Carsten Grohmann <carstengrohmann@gmx.de> Cc: Mike Frysinger <vapier@gentoo.org> Signed-off-by: John Hubbard <jhubbard@nvidia.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
-rw-r--r--man5/tmpfs.52
1 files changed, 1 insertions, 1 deletions
diff --git a/man5/tmpfs.5 b/man5/tmpfs.5
index 09d955898..cdd5f2fd8 100644
--- a/man5/tmpfs.5
+++ b/man5/tmpfs.5
@@ -115,7 +115,7 @@ Set the initial user ID of the root directory.
.BR huge "=\fIhuge_option\fR (since Linux 4.7.0)"
.\" commit 5a6e75f8110c97e2a5488894d4e922187e6cb343
Set the huge table memory allocation policy for all files in this instance (if
-.B CONFIG_TRANSPARENT_HUGE_PAGECACHE
+.B CONFIG_TRANSPARENT_HUGEPAGE
is enabled).
.IP
The