From bf9c09382bfe8a1db46642f5c32c81e3320ab6ab Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Tue, 8 Mar 2016 20:38:35 +0100 Subject: [PATCH] sched_setaffinity.2: Add reference to CPU_ALLOC(3) Reported-by: Florian Weimer Signed-off-by: Michael Kerrisk --- man2/sched_setaffinity.2 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/man2/sched_setaffinity.2 b/man2/sched_setaffinity.2 index 89473dd9f..318ffcc71 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 ()