remap_file_pages.2: Tweaks to Andy Lutomirski's patch

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2014-05-02 09:38:53 +02:00
parent 8fd1fd303a
commit 7a085379e4
1 changed files with 6 additions and 2 deletions

View File

@ -155,11 +155,15 @@ The
.BR remap_file_pages ()
system call is Linux-specific.
.SH NOTES
Since Linux 2.6.23,
.\" commit 3ee6dafc677a68e461a7ddafc94a580ebab80735
.BR remap_file_pages ()
has no performance advantage over
.BR mmap (2)
when used on real (as opposed to purely in-memory) files as of Linux 2.6.23:
on real files it creates a separate vma for each range.
when used on real files:
on real files it creates a separate VMA for each range.
It does, however, continue to provide a performance advantage
for files on memory-based filesystems.
.SH SEE ALSO
.BR getpagesize (2),
.BR mmap (2),