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>
This commit is contained in:
Michael Kerrisk 2016-03-08 20:38:35 +01:00
parent d7e537ce94
commit bf9c09382b
1 changed files with 2 additions and 1 deletions

View File

@ -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 ()