summaryrefslogtreecommitdiffstats
path: root/man2/migrate_pages.2
diff options
context:
space:
mode:
Diffstat (limited to 'man2/migrate_pages.2')
-rw-r--r--man2/migrate_pages.218
1 files changed, 9 insertions, 9 deletions
diff --git a/man2/migrate_pages.2 b/man2/migrate_pages.2
index 177f463..8f2ee8e 100644
--- a/man2/migrate_pages.2
+++ b/man2/migrate_pages.2
@@ -6,7 +6,7 @@
.\" This manpage is Copyright (C) 2006 Silicon Graphics, Inc.
.\" Christoph Lameter
.\"
-.TH migrate_pages 2 2023-07-15 "Linux man-pages 6.05.01"
+.TH migrate_pages 2 2023-10-31 "Linux man-pages 6.7"
.SH NAME
migrate_pages \- move all pages in a process to another set of nodes
.SH LIBRARY
@@ -15,7 +15,7 @@ NUMA (Non-Uniform Memory Access) policy library
.SH SYNOPSIS
.nf
.B #include <numaif.h>
-.PP
+.P
.BI "long migrate_pages(int " pid ", unsigned long " maxnode,
.BI " const unsigned long *" old_nodes,
.BI " const unsigned long *" new_nodes );
@@ -36,7 +36,7 @@ the kernel maintains the relative topology relationship inside
.I old_nodes
during the migration to
.IR new_nodes .
-.PP
+.P
The
.I old_nodes
and
@@ -58,7 +58,7 @@ as in
.BR mbind (2),
but different from
.BR select (2)).
-.PP
+.P
The
.I pid
argument is the ID of the process whose pages are to be moved.
@@ -72,7 +72,7 @@ If
is 0, then
.BR migrate_pages ()
moves pages of the calling process.
-.PP
+.P
Pages shared with another process will be moved only if the initiating
process has the
.B CAP_SYS_NICE
@@ -132,7 +132,7 @@ Linux 2.6.16.
.SH NOTES
For information on library support, see
.BR numa (7).
-.PP
+.P
Use
.BR get_mempolicy (2)
with the
@@ -141,7 +141,7 @@ flag to obtain the set of nodes that are allowed by
the calling process's cpuset.
Note that this information is subject to change at any
time by manual or automatic reconfiguration of the cpuset.
-.PP
+.P
Use of
.BR migrate_pages ()
may result in pages whose location
@@ -153,7 +153,7 @@ and/or the specified process (see
That is, memory policy does not constrain the destination
nodes used by
.BR migrate_pages ().
-.PP
+.P
The
.I <numaif.h>
header is not included with glibc, but requires installing
@@ -169,6 +169,6 @@ or a similar package.
.BR numa (7),
.BR migratepages (8),
.BR numastat (8)
-.PP
+.P
.I Documentation/vm/page_migration.rst
in the Linux kernel source tree