aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2018-02-04 09:25:26 +0100
committerMichael Kerrisk <mtk.manpages@gmail.com>2018-02-04 09:40:48 +0100
commitb230d246b2f2556ed193d06b49900786e039adce (patch)
treef1e199b82899df01dd9b54a7447e4f17e9df6242
parente121158211d686371e80e02c2c5981d162b51e7b (diff)
downloadman-pages-b230d246b2f2556ed193d06b49900786e039adce.tar.gz
tmpfs.5: Document 'huge' mount options
Based on text from Documentation/vm/transhuge.txt. Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man5/tmpfs.518
1 files changed, 12 insertions, 6 deletions
diff --git a/man5/tmpfs.5 b/man5/tmpfs.5
index c38126e3e1..885b601270 100644
--- a/man5/tmpfs.5
+++ b/man5/tmpfs.5
@@ -144,22 +144,28 @@ value is one of the following:
.RS
.TP
.B never
-
+Do not allocate huge pages.
+This is the default.
.TP
.B always
-
+Attempt to allocate huge pages every time a new page is needed.
.TP
.B within_size
-
+Only allocate huge page if it will be fully within
+.IR i_size .
+Also respect
+.BR fadvise (2)/ madvise (2)
+hints
.TP
.B advise
-
+Only allocate huge pages if requested with
+.BR fadvise (2)/ madvise (2).
.TP
.B deny
-
+For use in emergencies, to force the huge option off from all mounts.
.TP
.B force
-
+Force the huge option on for all mounts; useful for testing.
.RE
.TP
.BR mpol "=\fImpol_option\fR (since Linux 2.6.15)"