mirror of https://github.com/mkerrisk/man-pages
ffix
This commit is contained in:
parent
a612f2d070
commit
cf94921b75
|
@ -71,7 +71,7 @@ has been used to establish a policy for the memory range containing
|
|||
If the
|
||||
.I mode
|
||||
argument is not NULL, then
|
||||
.IR get_mempolicy ()
|
||||
.BR get_mempolicy ()
|
||||
will store the policy mode of the requested NUMA policy in the location
|
||||
pointed to by this argument.
|
||||
If
|
||||
|
@ -94,13 +94,13 @@ specifies both
|
|||
.B MPOL_F_NODE
|
||||
and
|
||||
.BR MPOL_F_ADDR ,
|
||||
.IR get_mempolicy ()
|
||||
.BR get_mempolicy ()
|
||||
will return the node ID of the node on which the address
|
||||
.I addr
|
||||
is allocated into the location pointed to by
|
||||
.IR mode .
|
||||
If no page has yet been allocated for the specified address,
|
||||
.IR get_mempolicy ()
|
||||
.BR get_mempolicy ()
|
||||
will allocate a page as if the process had performed a read
|
||||
[load] access to that address, and return the ID of the node
|
||||
where that page was allocated.
|
||||
|
@ -114,7 +114,7 @@ but not
|
|||
and the process's current policy is
|
||||
.BR MPOL_INTERLEAVE ,
|
||||
then
|
||||
.IR get_mempolicy ()
|
||||
.BR get_mempolicy ()
|
||||
will return in the location pointed to by a non-NULL
|
||||
.I mode
|
||||
argument,
|
||||
|
@ -123,7 +123,7 @@ interleaving of internal kernel pages allocated on behalf of the process.
|
|||
.\" 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
|
||||
.IR mmap (2)
|
||||
.BR mmap (2)
|
||||
call with the
|
||||
.B MAP_PRIVATE
|
||||
flag for read accesses, and in memory ranges mapped with the
|
||||
|
@ -182,7 +182,9 @@ but not
|
|||
.B MPOL_F_ADDR
|
||||
and the current process policy is not
|
||||
.BR MPOL_INTERLEAVE .
|
||||
(And there are other EINVAL cases.)
|
||||
(And there are other
|
||||
.B EINVAL
|
||||
cases.)
|
||||
.SH CONFORMING TO
|
||||
This system call is Linux specific.
|
||||
.SH NOTES
|
||||
|
@ -192,7 +194,7 @@ specified address is
|
|||
and this policy was installed with an empty
|
||||
.IR nodemask \(emspecifying
|
||||
local allocation,
|
||||
.IR get_mempolicy ()
|
||||
.BR get_mempolicy ()
|
||||
will return the mask of on-line node IDs in the location pointed to by
|
||||
a non-NULL
|
||||
.I nodemask
|
||||
|
|
Loading…
Reference in New Issue