mmap.2: wfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2017-12-19 06:34:57 +01:00
parent c6bd0e7189
commit db4e8e25b4
1 changed files with 4 additions and 3 deletions

View File

@ -310,10 +310,11 @@ can be discovered by listing the subdirectories in
.IR /sys/kernel/mm/hugepages .
.TP
.BR MAP_LOCKED " (since Linux 2.5.37)"
Mark the mmaped region to be locked in the same way as
Mark the mapped region to be locked in the same way as
.BR mlock (2).
This implementation will try to populate (prefault) the whole range but
the mmap call doesn't fail with
This implementation will try to populate (prefault) the whole range but the
.BR mmap ()
call doesn't fail with
.B ENOMEM
if this fails.
Therefore major faults might happen later on.