]> Git Repo - linux.git/commit
sched: Always preserve the user requested cpumask
authorWaiman Long <[email protected]>
Thu, 22 Sep 2022 18:00:38 +0000 (14:00 -0400)
committerPeter Zijlstra <[email protected]>
Thu, 27 Oct 2022 09:01:22 +0000 (11:01 +0200)
commit8f9ea86fdf99b81458cc21fc1c591fcd4a0fa1f4
tree43639cec1cbe2b23961c078f9062ab051019f65a
parent713a2e21a5137e96d2594f53d19784ffde3ddbd0
sched: Always preserve the user requested cpumask

Unconditionally preserve the user requested cpumask on
sched_setaffinity() calls. This allows using it outside of the fairly
narrow restrict_cpus_allowed_ptr() use-case and fix some cpuset issues
that currently suffer destruction of cpumasks.

Signed-off-by: Waiman Long <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
kernel/sched/core.c
kernel/sched/sched.h
This page took 0.058149 seconds and 4 git commands to generate.