aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpicoder.c
diff options
context:
space:
mode:
authorPeter Zijlstra <[email protected]>2013-12-17 10:03:34 +0100
committerIngo Molnar <[email protected]>2014-01-13 13:47:22 +0100
commite4099a5e929435cd6349343f002583f29868c900 (patch)
treecbd2a6a1854ac563782884457a182b39bd0bd17e /lib/mpi/mpicoder.c
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 <[email protected]> Link: http://lkml.kernel.org/n/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'lib/mpi/mpicoder.c')
0 files changed, 0 insertions, 0 deletions