# Re: \[PATCH v8 09/19\] sched: Introduce task\_struct::user\_cpus\_ptr to track requested affinity

- From: Valentin Schneider \<hidden\>
- Date: 2021-06-04 17:12:11 
- List: linux-arch
- Page: https://ratatoskr.run/linux-arch/2021/06/1402900
- Thread: https://ratatoskr.run/linux-arm-kernel/2021/06/1400201/t.md

```text
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@kernel.org>

Reviewed-by: Valentin Schneider <redacted>
```
