diff options
| -rw-r--r-- | man2/set_mempolicy.2 | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/man2/set_mempolicy.2 b/man2/set_mempolicy.2 index 42fd4e6584..2215d401b6 100644 --- a/man2/set_mempolicy.2 +++ b/man2/set_mempolicy.2 @@ -22,7 +22,7 @@ .\" 2007-08-27, Lee Schermerhorn <Lee.Schermerhorn@hp.com> .\" more precise specification of behavior. .\" -.TH SET_MEMPOLICY 2 2007-08-27 Linux "Linux Programmer's Manual" +.TH SET_MEMPOLICY 2 2008-08-07 Linux "Linux Programmer's Manual" .SH NAME set_mempolicy \- set default NUMA memory policy for a process and its children .SH SYNOPSIS @@ -60,7 +60,7 @@ memory mapped files mapped using the .BR mmap (2) call with the .B MAP_PRIVATE -flag and that are only read [loaded] from by the task +flag and that are only read [loaded] from by the process and of memory mapped files mapped using the .BR mmap (2) call with the @@ -104,6 +104,11 @@ is zero, the .I nodemask argument is ignored. +Where a +.I nodemask +is required, it must contain at least one node that is on-line, +allowed by the process's current cpuset context, +and contains memory. The .B MPOL_DEFAULT @@ -209,13 +214,11 @@ specifies more than a page worth of bits. Or, .I nodemask specifies one or more node IDs that are -greater than the maximum supported node ID, -or are not allowed in the calling task's context. -.\" "calling task's context" refers to cpusets. -.\" No man page avail to ref. --Lee Schermerhorn +greater than the maximum supported node ID. Or, none of the node IDs specified by .I nodemask -are on-line, or none of the specified nodes contain memory. +are on-line and allowed by the process's current cpuset context, +or none of the specified nodes contain memory. .TP .B ENOMEM Insufficient kernel memory was available. |
