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

From: Valentin Schneider
Date: Fri Jun 04 2021 - 13:12:25 EST


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@xxxxxxxxxx>

Reviewed-by: Valentin Schneider <Valentin.Schneider@xxxxxxx>