[PATCH v8 09/19] sched: Introduce task_struct::user_cpus_ptr to track requested affinity

Valentin Schneider valentin.schneider at arm.com
Fri Jun 4 10:12:04 PDT 2021


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 at kernel.org>

Reviewed-by: Valentin Schneider <Valentin.Schneider at arm.com>



More information about the linux-arm-kernel mailing list