Commit Graph

1739 Commits

Author SHA1 Message Date
Michael Kerrisk 8b9c69b6f7 Added VERSIONS (from kernel 2.6.18) and CONFORMING TO sections. 2008-08-13 05:51:20 +00:00
Michael Kerrisk 5a35e62092 Removed trailing white space at end of lines 2008-08-12 10:27:05 +00:00
Michael Kerrisk abe7c8711b Documentation of the move_pages() system call.
This page was formerly part of the numactl package, but really
belongs in man-pages (since it describes a kernel interface).
2008-08-12 09:22:42 +00:00
Michael Kerrisk ad6eeaf0f3 grfix 2008-08-11 09:01:40 +00:00
Michael Kerrisk a0c1c6f017 s/task/process/g 2008-08-11 09:00:23 +00:00
Michael Kerrisk bdd7bc29e2 Attempt to clarify discussion of MPOL_DEFAULT. 2008-08-11 05:31:24 +00:00
Michael Kerrisk 58a69c3c86 tstamp 2008-08-11 05:28:31 +00:00
Michael Kerrisk 4a459ba1ab Add brief discussion of mode flags. 2008-08-11 05:27:30 +00:00
Michael Kerrisk 1313d29781 tweaks 2008-08-11 05:21:24 +00:00
Michael Kerrisk f98b728e0a Lee Schermerhorn
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.
2008-08-11 05:11:50 +00:00
Michael Kerrisk fb67fb2902 Fix URI reference for libnuma. 2008-08-11 04:25:50 +00:00
Michael Kerrisk 20ca75a0d7 Lee Schermerhorn
Update the get_mempolicy(2) man page to add in the description of
the MPOL_F_MEMS_ALLOWED flag, added in 2.6.23.
mtk
Document additional EINVAL error that occurs is MPOL_F_MEMS_ALLOWED
is specified with either MPOL_F_ADDR or MPOL_F_NODE.
2008-08-08 20:02:56 +00:00
Michael Kerrisk 63e28ad443 Lee Schermerhorn
Misc cleanup of get_mempolicy(2):
+ mention that any mode flags will be saved with mode.
I don't bother to document mode flags here because we
already have a pointer to set_mempolicy(2) for more info
on memory policy.  mode flags are discussed there.
+ remove some old, obsolete [IMO] NOTES and 'roff comments.
2008-08-08 19:47:20 +00:00
Michael Kerrisk d4c8c97c31 s/PF_/AF_/ for socket family constants. Reasons: the AF_ and
PF_ constants have always had the same values; there never has
been a protocol family that had more than one address family,
and POSIX.1-2001 only specifies the AF_* constants.
2008-08-08 16:47:53 +00:00
Michael Kerrisk 77117f4fc5 Reverting blunder in commit 4699 2008-08-08 16:41:48 +00:00
Michael Kerrisk 10874173db s/PF_/AF_/ for socket family conistants. Reasons: the AF_ and
PF_ constants have always had the same values; there never has
been a protocol family that had more than one address family,
and POSIX.1-2001 only specifies the AF_* constants.
2008-08-08 16:28:06 +00:00
Michael Kerrisk bfcecf8a76 Fix error conditions, now that the kernel silently ignores
nodes outside the task's cpuset, as long as one valid node remains.

Now that cpuset man page exists, we can refer to it.  Remove
stale comment regarding lack thereof.
2008-08-08 15:22:56 +00:00
Michael Kerrisk cdba92536d Lee Schermerhorn
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.
2008-08-07 12:19:08 +00:00
Michael Kerrisk 6c48afffcf wfix 2008-08-07 11:08:15 +00:00
Michael Kerrisk 2fb19a1619 The floating-point environment is reset to the default
during an execve().
2008-08-07 10:54:18 +00:00
Michael Kerrisk b05757449e ffix 2008-08-06 20:46:09 +00:00
Michael Kerrisk 9fcbe835d8 ffix 2008-08-06 20:45:26 +00:00
Michael Kerrisk f36903108a ffix 2008-08-06 20:41:47 +00:00
Michael Kerrisk 89b3c6b808 ffix 2008-08-06 20:33:17 +00:00
Michael Kerrisk b546318a5f In the ipc_perm structure definition, some fields were
incorrectly named: s/key/__key/ and s/seq/__seq/.
2008-08-06 20:22:46 +00:00
Michael Kerrisk 58413227bf ffix 2008-08-06 20:20:52 +00:00
Michael Kerrisk 765eec1080 Last change was really:
In the ipc_perm structure definition, some fields were
incorrectly named: s/key/__key/ and s/seq/__seq/.
2008-08-06 20:19:17 +00:00
Michael Kerrisk 2d2892fc42 ffix 2008-08-06 20:18:38 +00:00
Michael Kerrisk 6edbac015c ffix 2008-08-06 20:17:27 +00:00
Michael Kerrisk 116e7cd9df tfix 2008-08-06 20:09:41 +00:00
Michael Kerrisk b101827706 In ipc_perm structure definition, some fields were incorrectly
named: s/key/__key/ and s/seq/__seq/.
2008-08-06 20:09:12 +00:00
Michael Kerrisk a2a11a45ec ffix 2008-08-06 20:08:09 +00:00
Michael Kerrisk c153f4a6fb ffix 2008-08-06 19:58:00 +00:00
Michael Kerrisk 22b2283175 Remove EFAULT from errors. Under ENOMEM error, note that EFAULT
was the error produced in some cases for kernels before 2.4.19.
2008-08-06 19:41:51 +00:00
Michael Kerrisk 05c1f95677 Remove FIXME 2008-08-06 10:46:47 +00:00
Michael Kerrisk 5a54a60bf9 POSIX.1-2008 removes the specification of vfork(). 2008-08-06 10:46:26 +00:00
Michael Kerrisk 0524a4fccf POSIX.1-2008 marks utime() obsolete.
POSIX.1-2008 removes the POSIX.1-2001 LEGACY marking of utimes(),
so mention of this point has been removed from the page.
2008-08-06 10:45:14 +00:00
Michael Kerrisk 55cfc5749f POSIX.1-2008 marks setpgrp() obsolete. 2008-08-06 10:36:11 +00:00
Michael Kerrisk 7a6f621e22 POSIX.1-2008 marks getitimer() and setitimer() obsolete. 2008-08-06 10:30:51 +00:00
Michael Kerrisk da3a4661d3 Remove FIXME 2008-08-06 10:27:57 +00:00
Michael Kerrisk 3d15e15d04 tfix 2008-08-06 10:26:43 +00:00
Michael Kerrisk 257688032a Fix mis-ordered (.SH) sections. 2008-08-05 16:42:24 +00:00
Michael Kerrisk c45bd688fd s/floating point/floating-point/ when used attributively. 2008-07-23 02:57:20 +00:00
Michael Kerrisk 94d5cb11d0 s/resp./respectively,/ 2008-07-22 15:08:19 +00:00
Michael Kerrisk bbae62c333 Remove ambiguity in description of support for O_EXCL on NFS.
As per http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=491791.
2008-07-22 05:48:27 +00:00
Michael Kerrisk 0d568afbc3 ffix 2008-07-18 03:55:11 +00:00
Michael Kerrisk 90d75949c5 SEE ALSO: add end(3). 2008-07-17 14:03:27 +00:00
Michael Kerrisk 88989295a8 Place options in some semblance of alphabetical order.
(No content or formatting changes were made.)
2008-07-16 14:01:02 +00:00
Michael Kerrisk fd7193f57a Removed trailing white space at end of lines 2008-07-16 13:11:30 +00:00
Michael Kerrisk fccde10fbe Remove FIXME. 2008-07-16 08:56:16 +00:00