aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--man2/mbind.217
1 files changed, 10 insertions, 7 deletions
diff --git a/man2/mbind.2 b/man2/mbind.2
index 9ccda4e138..8cb7609bff 100644
--- a/man2/mbind.2
+++ b/man2/mbind.2
@@ -22,7 +22,7 @@
.\" 2007-08-27, Lee Schermerhorn <Lee.Schermerhorn@hp.com>
.\" more precise specification of behavior.
.\"
-.TH MBIND 2 2008-05-22 Linux "Linux Programmer's Manual"
+.TH MBIND 2 2008-08-07 Linux "Linux Programmer's Manual"
.SH NAME
mbind \- Set memory policy for a memory range
.SH SYNOPSIS
@@ -139,6 +139,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
@@ -303,19 +308,17 @@ and
is empty.
Or,
.I maxnode
-exceeds kernel-imposed limit.
+exceeds a kernel-imposed limit.
.\" As at 2.6.23, this limit is "a page worth of bits", e.g.,
.\" 8 * 4096 bits, assuming a 4kB page size.
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 EIO
.B MPOL_MF_STRICT