aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2016-03-08 20:38:35 +0100
committerMichael Kerrisk <mtk.manpages@gmail.com>2016-03-09 00:34:41 +0100
commitbf9c09382bfe8a1db46642f5c32c81e3320ab6ab (patch)
tree7ed6bbd9f4e2deee7e5519b727502963557cb60a
parentd7e537ce942ee79ee336470b495bdff0da097e15 (diff)
downloadman-pages-bf9c09382bfe8a1db46642f5c32c81e3320ab6ab.tar.gz
sched_setaffinity.2: Add reference to CPU_ALLOC(3)
Reported-by: Florian Weimer <fweimer@redhat.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man2/sched_setaffinity.23
1 files changed, 2 insertions, 1 deletions
diff --git a/man2/sched_setaffinity.2 b/man2/sched_setaffinity.2
index 89473dd9f1..318ffcc712 100644
--- a/man2/sched_setaffinity.2
+++ b/man2/sched_setaffinity.2
@@ -269,7 +269,8 @@ be substantially larger than the number of active CPUs in the system.)
When working on systems with large kernel CPU affinity masks,
one must dynamically allocate the
.I mask
-argument.
+argument (ss
+.BR CPU_ALLOC (3)).
Currently, the only way to do this is by probing for the size
of the required mask using
.BR sched_getaffinity ()