Another attempt to rationalize description of MPOL_DEFAULT.
Since ~2.6.25, the system default memory policy is "local allocation".
MPOL_DEFAULT itself is a request to remove any non-default policy and
"fall back" to the surrounding context. Try to say that without delving
into implementation details.
Fix up the error return for nodemask containing nodes disallowed by
the process' current cpuset. Disallowed nodes are now silently ignored,
as long as the nodemask contains at least one node that is on-line,
allowed by the process' cpuset and has memory.
Now that we have a cpuset man page, we can refer to cpusets directly
in the man page text.
descriptions in an attempt to promote the concept that the memory
policy is a tuple consisting of a mode and optional set of nodes.
+ added requirement to link '-lnuma' to synopsis
+ rewrite portions of description for clarification.
++ clarify interaction of policy with mmap()'d files.
++ defined how "empty set of nodes" specified and what this
means for MPOL_PREFERRED.
++ mention what happens if local/target node contains no
free memory.
++ clarify semantics of multiple nodes to BIND policy.
Note: subject to change. We'll fix the man pages when/if
this happens.
+ added all errors currently returned by sys call.
+ added mmap(2) to See Also list.