From 85c984a114b644c76329e2f7c3fe114f6febe1f5 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Thu, 12 Jun 2014 07:49:17 +0200 Subject: [PATCH] remap_file_pages.2: Note that remap_file_pages() is deprecated Reviewed-by: Kirill A. Shutemov Signed-off-by: Michael Kerrisk --- man2/remap_file_pages.2 | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/man2/remap_file_pages.2 b/man2/remap_file_pages.2 index acc5b3f13..0acd5a80b 100644 --- a/man2/remap_file_pages.2 +++ b/man2/remap_file_pages.2 @@ -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