mirror of https://github.com/mkerrisk/man-pages
mmap.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
c6bd0e7189
commit
db4e8e25b4
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue