# Re: \[PATCH v8 10/19\] sched: Split the guts of sched\_setaffinity() into a helper function

- From: Valentin Schneider \<hidden\>
- Date: 2021-06-04 17:12:25 
- List: linux-arch
- Page: https://ratatoskr.run/linux-arch/2021/06/1402901
- 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 replaying user affinity requests using a saved mask,
> split sched_setaffinity() up so that the initial task lookup and
> security checks are only performed when the request is coming directly
> from userspace.
>
> Signed-off-by: Will Deacon <will@kernel.org>

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