summaryrefslogtreecommitdiff
path: root/include/linux/sched/sysctl.h
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2013-12-17 10:03:34 +0100
committerIngo Molnar <mingo@kernel.org>2014-01-13 13:47:22 +0100
commite4099a5e929435cd6349343f002583f29868c900 (patch)
treecbd2a6a1854ac563782884457a182b39bd0bd17e /include/linux/sched/sysctl.h
parent6bfd6d72f51c51177676f2b1ba113fe0a85fdae4 (diff)
sched/deadline: Fix up the smp-affinity mask tests
For now deadline tasks are not allowed to set smp affinity; however the current tests are wrong, cure this. The test in __sched_setscheduler() also uses an on-stack cpumask_t which is a no-no. Change both tests to use cpumask_subset() such that we test the root domain span to be a subset of the cpus_allowed mask. This way we're sure the tasks can always run on all CPUs they can be balanced over, and have no effective affinity constraints. Signed-off-by: Peter Zijlstra <peterz@infradead.org> Link: http://lkml.kernel.org/n/tip-fyqtb1lapxca3lhsxv9cumdc@git.kernel.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'include/linux/sched/sysctl.h')
0 files changed, 0 insertions, 0 deletions