summaryrefslogtreecommitdiffstats
path: root/kernel/sched/idle.c
diff options
context:
space:
mode:
authorWaiman Long <longman@redhat.com>2022-09-22 14:00:38 -0400
committerPeter Zijlstra <peterz@infradead.org>2022-10-27 11:01:22 +0200
commit8f9ea86fdf99b81458cc21fc1c591fcd4a0fa1f4 (patch)
tree43639cec1cbe2b23961c078f9062ab051019f65a /kernel/sched/idle.c
parent713a2e21a5137e96d2594f53d19784ffde3ddbd0 (diff)
downloadlinux-8f9ea86fdf99b81458cc21fc1c591fcd4a0fa1f4.tar.bz2
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 <longman@redhat.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lkml.kernel.org/r/20220922180041.1768141-3-longman@redhat.com
Diffstat (limited to 'kernel/sched/idle.c')
0 files changed, 0 insertions, 0 deletions