In preparation for saving and restoring the user-requested CPU affinity
mask of a task, add a new cpumask_t pointer to 'struct task_struct'.
If the pointer is non-NULL, then the mask is copied across fork() and
freed on task exit.
Signed-off-by: Will Deacon <will@kernel.org>
Reviewed-by: Valentin Schneider <redacted>
Thread (48 messages)
48 messages,
5 authors,
last reply 2021-06-10