diff --git a/man2/mbind.2 b/man2/mbind.2 index 342db1dba..96844699b 100644 --- a/man2/mbind.2 +++ b/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 diff --git a/man2/set_mempolicy.2 b/man2/set_mempolicy.2 index 3ef5d4a62..3ea15a7ab 100644 --- a/man2/set_mempolicy.2 +++ b/man2/set_mempolicy.2 @@ -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.