]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
mbind.2, set_mempolicy.2: Minor tweaks to Piotr Kwapulinski's patch
authorMichael Kerrisk <mtk.manpages@gmail.com>
Wed, 12 Oct 2016 07:49:31 +0000 (09:49 +0200)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Wed, 12 Oct 2016 07:49:31 +0000 (09:49 +0200)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man2/mbind.2
man2/set_mempolicy.2

index 342db1dbac562132de56d13f2ae5e76c6c02d028..96844699b8dabe280a082ba4c8e0ec40eed32786 100644 (file)
@@ -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
index 3ef5d4a628b163265d93212649cf99b82f7cc09e..3ea15a7abeb83f8ba8554396acda3ca03dac3c2c 100644 (file)
@@ -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.