summaryrefslogtreecommitdiffstats
path: root/man2/get_mempolicy.2
diff options
context:
space:
mode:
Diffstat (limited to 'man2/get_mempolicy.2')
-rw-r--r--man2/get_mempolicy.232
1 files changed, 16 insertions, 16 deletions
diff --git a/man2/get_mempolicy.2 b/man2/get_mempolicy.2
index 5248f04ba..39e3b31aa 100644
--- a/man2/get_mempolicy.2
+++ b/man2/get_mempolicy.2
@@ -39,7 +39,7 @@ If
is specified as 0,
then information about the calling thread's default policy
(as set by
-.BR set_mempolicy (2))
+.MR set_mempolicy 2 )
is returned, in the buffers pointed to by
.I mode
and
@@ -49,7 +49,7 @@ may be used to restore the thread's policy to its state at
the time of the call to
.BR get_mempolicy ()
using
-.BR set_mempolicy (2).
+.MR set_mempolicy 2 .
When
.I flags
is 0,
@@ -64,9 +64,9 @@ specifies
.I mode
argument is ignored and the set of nodes (memories) that the
thread is allowed to specify in subsequent calls to
-.BR mbind (2)
+.MR mbind 2
or
-.BR set_mempolicy (2)
+.MR set_mempolicy 2
(in the absence of any
.IR "mode flags" )
is returned in
@@ -86,9 +86,9 @@ then information is returned about the policy governing the memory
address given in
.IR addr .
This policy may be different from the thread's default policy if
-.BR mbind (2)
+.MR mbind 2
or one of the helper functions described in
-.BR numa (3)
+.MR numa 3
has been used to establish a policy for the memory range containing
.IR addr .
.P
@@ -148,7 +148,7 @@ interleaving of internal kernel pages allocated on behalf of the thread.
.\" Note: code returns next interleave node via 'mode' argument -Lee Schermerhorn
These allocations include pages for memory-mapped files in
process memory ranges mapped using the
-.BR mmap (2)
+.MR mmap 2
call with the
.B MAP_PRIVATE
flag for read accesses, and in memory ranges mapped with the
@@ -158,7 +158,7 @@ flag for all accesses.
Other flag values are reserved.
.P
For an overview of the possible policies see
-.BR set_mempolicy (2).
+.MR set_mempolicy 2 .
.SH RETURN VALUE
On success,
.BR get_mempolicy ()
@@ -224,12 +224,12 @@ Linux.
Linux 2.6.7.
.SH NOTES
For information on library support, see
-.BR numa (7).
+.MR numa 7 .
.SH SEE ALSO
-.BR getcpu (2),
-.BR mbind (2),
-.BR mmap (2),
-.BR set_mempolicy (2),
-.BR numa (3),
-.BR numa (7),
-.BR numactl (8)
+.MR getcpu 2 ,
+.MR mbind 2 ,
+.MR mmap 2 ,
+.MR set_mempolicy 2 ,
+.MR numa 3 ,
+.MR numa 7 ,
+.MR numactl 8