mirror of https://github.com/mkerrisk/man-pages
mbind.2, set_mempolicy.2: Minor tweaks to Piotr Kwapulinski's patch
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
5e38e258ec
commit
c0649ed51d
12
man2/mbind.2
12
man2/mbind.2
|
@ -261,26 +261,26 @@ arguments specify the empty set, then the memory is allocated on
|
|||
the node of the CPU that triggered the allocation.
|
||||
|
||||
.B MPOL_LOCAL
|
||||
specifies the "local allocation", the memory is allocated on
|
||||
the node of the CPU that triggered the allocation, "local node".
|
||||
specifies "local allocation"; the memory is allocated on
|
||||
the node of the CPU that triggered the allocation (the "local node").
|
||||
The
|
||||
.I nodemask
|
||||
and
|
||||
.I maxnode
|
||||
arguments must specify the empty set.
|
||||
If the "local node" is low on free memory
|
||||
If the "local node" is low on free memory,
|
||||
the kernel will try to allocate memory from other nodes.
|
||||
The kernel will allocate memory from the "local node"
|
||||
whenever memory for this node is available.
|
||||
If the "local node" is not allowed by the process's current cpuset context
|
||||
If the "local node" is not allowed by the process's current cpuset context,
|
||||
the kernel will try to allocate memory from other nodes.
|
||||
The kernel will allocate memory from the "local node" whenever
|
||||
it becomes allowed by the process's current cpuset context.
|
||||
In contrast
|
||||
By contrast,
|
||||
.B MPOL_DEFAULT
|
||||
reverts to the policy of the process which may have been set with
|
||||
.BR set_mempolicy (2).
|
||||
It may not be the "local allocation".
|
||||
It may not be "local allocation".
|
||||
|
||||
If
|
||||
.B MPOL_MF_STRICT
|
||||
|
|
|
@ -213,18 +213,18 @@ specifies "local allocation"
|
|||
(like the system default policy discussed above).
|
||||
|
||||
.B MPOL_LOCAL
|
||||
specifies the "local allocation", the memory is allocated on
|
||||
the node of the CPU that triggered the allocation, "local node".
|
||||
specifies "local allocation"; the memory is allocated on
|
||||
the node of the CPU that triggered the allocation (the "local node").
|
||||
The
|
||||
.I nodemask
|
||||
and
|
||||
.I maxnode
|
||||
arguments must specify the empty set.
|
||||
If the "local node" is low on free memory
|
||||
If the "local node" is low on free memory,
|
||||
the kernel will try to allocate memory from other nodes.
|
||||
The kernel will allocate memory from the "local node"
|
||||
whenever memory for this node is available.
|
||||
If the "local node" is not allowed by the process's current cpuset context
|
||||
If the "local node" is not allowed by the process's current cpuset context,
|
||||
the kernel will try to allocate memory from other nodes.
|
||||
The kernel will allocate memory from the "local node" whenever
|
||||
it becomes allowed by the process's current cpuset context.
|
||||
|
|
Loading…
Reference in New Issue