mirror of https://github.com/mkerrisk/man-pages
mmap.2: Document MAP_UNINITIALIZED flag
New in Linux 2.6.33. Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
7c7adcbe55
commit
12062404f9
10
man2/mmap.2
10
man2/mmap.2
|
@ -287,6 +287,16 @@ support can later be transparently implemented for glibc.
|
|||
.\" http://thread.gmane.org/gmane.linux.kernel/720412
|
||||
.\" "pthread_create() slow for many threads; also time to revisit 64b
|
||||
.\" context switch optimization?"
|
||||
.TP
|
||||
.BR MAP_UNINITIALIZED " (since Linux 2.6.33)"
|
||||
Don't clear anonymous pages.
|
||||
This flag is intended to improve performance on embedded devices.
|
||||
This flag is only honored if the kernel was configured with the
|
||||
.B CONFIG_MMAP_ALLOW_UNINITIALIZED
|
||||
option.
|
||||
Because of the security implications,
|
||||
that option is normally enabled only on embedded devices
|
||||
(i.e., devices where one has complete control of the contents of user memory).
|
||||
.LP
|
||||
Of the above flags, only
|
||||
.B MAP_FIXED
|
||||
|
|
Loading…
Reference in New Issue