mmap.2: Clarify rationale of MAP_SYNC somewhat

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2018-04-12 20:12:50 +02:00
parent 79da08c844
commit 5bc2d858e1
1 changed files with 3 additions and 2 deletions

View File

@ -452,8 +452,9 @@ Shared file mappings with this flag provide the guarantee that while
some memory is writably mapped in the address space of the process,
it will be visible in the same file at the same offset even after
the system crashes or is rebooted.
This allows users of such mappings to make data modifications
persistent in a more efficient way using appropriate CPU instructions.
In conjunction with the use of appropriate CPU instructions,
this provides users of such mappings with a more efficient way
of making data modifications persistent.
.TP
.BR MAP_UNINITIALIZED " (since Linux 2.6.33)"
Don't clear anonymous pages.