mirror of https://github.com/mkerrisk/man-pages
Noted bug in MAP_POPULATE for kernels before 2.6.7.
This commit is contained in:
parent
ceb6743d1f
commit
dbc53ca8b2
12
man2/mmap.2
12
man2/mmap.2
|
@ -342,9 +342,17 @@ SVr4, POSIX.1b (formerly POSIX.4), 4.4BSD, SUSv2.
|
|||
SVr4 documents additional error codes ENXIO and ENODEV.
|
||||
SUSv2 documents additional error codes EMFILE and EOVERFLOW.
|
||||
.SH BUGS
|
||||
On Linux there are no guarantees like those suggested above
|
||||
under MAP_NORESERVE. By default, any process can be killed
|
||||
On Linux there are no guarantees like those suggested above under
|
||||
.BR MAP_NORESERVE .
|
||||
By default, any process can be killed
|
||||
at any moment when the system runs out of memory.
|
||||
|
||||
In kernels before 2.6.7, the
|
||||
.B MAP_POPULATE
|
||||
flag only has effect if
|
||||
.I prot
|
||||
is specified as
|
||||
.BR PROT_NONE .
|
||||
.SH "SEE ALSO"
|
||||
.BR getpagesize (2),
|
||||
.BR mlock (2),
|
||||
|
|
Loading…
Reference in New Issue