Skip to content

Commit e3c8d12

Browse files
authored
Merge pull request #1294 from askervin/5cl_doc_mpol_emptynodes
docs: fix and elaborate the nodes field in Linux memory policy
2 parents 2290f21 + 84b6c2c commit e3c8d12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config-linux.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -831,7 +831,7 @@ For more information see the [set_mempolicy(2)][set_mempolicy.2] man page.
831831
* `MPOL_PREFERRED_MANY`
832832
* `MPOL_LOCAL`
833833

834-
* **`nodes`** *(string, REQUIRED)* - list of memory nodes from which nodemask is constructed to set_mempolicy(2). This is a comma-separated list, with dashes to represent ranges. For example, `0-3,7` represents memory nodes 0,1,2,3, and 7.
834+
* **`nodes`** *(string, OPTIONAL)* - list of memory nodes from which nodemask is constructed to set_mempolicy(2). This is a comma-separated list, with dashes to represent ranges. For example, `0-3,7` represents memory nodes 0,1,2,3, and 7. Some modes require that there are no nodes, e.g. `MPOL_DEFAULT` and `MPOL_LOCAL`. Others that there is at least one node, e.g. `MPOL_BIND` and `MPOL_INTERLEAVE`. See set_mempolicy(2) for details.
835835

836836
* **`flags`** *(array of strings, OPTIONAL)* - list of flags to use with set_mempolicy(2).
837837

0 commit comments

Comments
 (0)