Thread (29 messages) read the whole thread 29 messages, 2 authors, 2021-08-18

Re: [PATCH v11 07/16] sched: Split the guts of sched_setaffinity() into a helper function

From: Peter Zijlstra <peterz@infradead.org>
Date: 2021-08-17 15:41:49
Also in: linux-arch, lkml

On Fri, Jul 30, 2021 at 12:24:34PM +0100, 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.

Reviewed-by: Valentin Schneider <redacted>
Signed-off-by: Will Deacon <will@kernel.org>
Should not sched_setaffinity() update user_cpus_ptr when it isn't NULL,
such that the upcoming relax_compatible_cpus_allowed_ptr() preserve the
full user mask?

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help