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 .
|
.IR /sys/kernel/mm/hugepages .
|
||||||
.TP
|
.TP
|
||||||
.BR MAP_LOCKED " (since Linux 2.5.37)"
|
.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).
|
.BR mlock (2).
|
||||||
This implementation will try to populate (prefault) the whole range but
|
This implementation will try to populate (prefault) the whole range but the
|
||||||
the mmap call doesn't fail with
|
.BR mmap ()
|
||||||
|
call doesn't fail with
|
||||||
.B ENOMEM
|
.B ENOMEM
|
||||||
if this fails.
|
if this fails.
|
||||||
Therefore major faults might happen later on.
|
Therefore major faults might happen later on.
|
||||||
|
|
Loading…
Reference in New Issue