mmap.2: mincore(2) can be used to discover which pages of a mapping are resident

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2017-01-26 17:09:25 +13:00
parent a8db50d35a
commit 3bd859bfaf
1 changed files with 4 additions and 0 deletions

View File

@ -632,6 +632,10 @@ The relevant flags are:
.BR MAP_POPULATE ,
and
.BR MAP_STACK .
An application can determine which pages of a mapping are
currently resident in the buffer/page cache using
.BR mincore (2).
.\"
.SS Timestamps changes for file-backed mappings
For file-backed mappings, the