mirror of https://github.com/mkerrisk/man-pages
tmpfs.5: Document 'huge' mount options
Based on text from Documentation/vm/transhuge.txt. Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
e121158211
commit
b230d246b2
18
man5/tmpfs.5
18
man5/tmpfs.5
|
@ -144,22 +144,28 @@ value is one of the following:
|
||||||
.RS
|
.RS
|
||||||
.TP
|
.TP
|
||||||
.B never
|
.B never
|
||||||
|
Do not allocate huge pages.
|
||||||
|
This is the default.
|
||||||
.TP
|
.TP
|
||||||
.B always
|
.B always
|
||||||
|
Attempt to allocate huge pages every time a new page is needed.
|
||||||
.TP
|
.TP
|
||||||
.B within_size
|
.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
|
.TP
|
||||||
.B advise
|
.B advise
|
||||||
|
Only allocate huge pages if requested with
|
||||||
|
.BR fadvise (2)/ madvise (2).
|
||||||
.TP
|
.TP
|
||||||
.B deny
|
.B deny
|
||||||
|
For use in emergencies, to force the huge option off from all mounts.
|
||||||
.TP
|
.TP
|
||||||
.B force
|
.B force
|
||||||
|
Force the huge option on for all mounts; useful for testing.
|
||||||
.RE
|
.RE
|
||||||
.TP
|
.TP
|
||||||
.BR mpol "=\fImpol_option\fR (since Linux 2.6.15)"
|
.BR mpol "=\fImpol_option\fR (since Linux 2.6.15)"
|
||||||
|
|
Loading…
Reference in New Issue