remap_file_pages.2: Note that remap_file_pages() is deprecated

Reviewed-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2014-06-12 07:49:17 +02:00
parent b665034d43
commit 85c984a114
1 changed files with 8 additions and 0 deletions

View File

@ -37,6 +37,14 @@ remap_file_pages \- create a nonlinear file mapping
.BI " size_t " pgoff ", int " flags );
.fi
.SH DESCRIPTION
.BR Note :
.\" commit 33041a0d76d3c3e0aff28ac95a2ffdedf1282dbc
.\" http://lwn.net/Articles/597632/
this system call is (since Linux 3.16) deprecated and will
eventually be replaced by a slower in-kernel emulation.
Those few applications that use this system call should
consider migrating to alternatives.
The
.BR remap_file_pages ()
system call is used to create a nonlinear mapping, that is, a mapping