aboutsummaryrefslogtreecommitdiffstats
path: root/man2/remap_file_pages.2
diff options
context:
space:
mode:
Diffstat (limited to 'man2/remap_file_pages.2')
-rw-r--r--man2/remap_file_pages.212
1 files changed, 6 insertions, 6 deletions
diff --git a/man2/remap_file_pages.2 b/man2/remap_file_pages.2
index cf45c45dde..06af8fad3f 100644
--- a/man2/remap_file_pages.2
+++ b/man2/remap_file_pages.2
@@ -50,7 +50,7 @@ This change was made because the kernel code for this system call was complex,
and it is believed to be little used or perhaps even completely unused.
While it had some use cases in database applications on 32-bit systems,
those use cases don't exist on 64-bit systems.
-
+.PP
The
.BR remap_file_pages ()
system call is used to create a nonlinear mapping, that is, a mapping
@@ -62,7 +62,7 @@ over using repeated calls to
.BR mmap (2)
is that the former approach does not require the kernel to create
additional VMA (Virtual Memory Area) data structures.
-
+.PP
To create a nonlinear mapping we perform the following steps:
.TP 3
1.
@@ -91,7 +91,7 @@ within the mapping:
is a file offset in units of the system page size;
.I size
is the length of the region in bytes.
-
+.PP
The
.I addr
argument serves two purposes.
@@ -109,7 +109,7 @@ identified by
and
.I size
will be placed.
-
+.PP
The values specified in
.I addr
and
@@ -123,11 +123,11 @@ to the nearest multiple of the page size.
.\" This rounding is weird, and not consistent with the treatment of
.\" the analogous arguments for munmap()/mprotect() and for mlock().
.\" MTK, 14 Sep 2005
-
+.PP
The
.I prot
argument must be specified as 0.
-
+.PP
The
.I flags
argument has the same meaning as for