Re: [PATCH v8 09/19] sched: Introduce task_struct::user_cpus_ptr to track requested affinity
From: Valentin Schneider
Date: Fri Jun 04 2021 - 13:12:11 EST
On 02/06/21 17:47, Will Deacon wrote:
> 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@xxxxxxxxxx>
Reviewed-by: Valentin Schneider <Valentin.Schneider@xxxxxxx>