Peter Zijlstra
e4099a5e92
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>
2014-01-13 13:47:22 +01:00
..
2013-09-25 14:07:49 +02:00
2013-10-03 18:47:54 +02:00
2013-12-17 15:04:00 +01:00
2013-11-13 12:09:34 +09:00
2013-12-02 10:15:39 -08:00
2014-01-13 13:42:56 +01:00
2013-12-22 00:56:35 +01:00
2013-11-13 12:09:14 +09:00
2013-11-19 14:59:50 +01:00
2014-01-13 13:47:22 +01:00
2013-11-29 12:23:03 +01:00
2014-01-13 13:42:56 +01:00
2013-12-10 18:21:34 +00:00
2013-11-21 19:18:14 -08:00
2013-11-05 11:15:03 -05:00
2013-11-05 11:09:16 -05:00
2013-11-06 11:47:24 -05:00
2013-12-20 12:25:45 -08:00
2013-09-09 11:19:09 -07:00
2013-08-08 20:11:27 -04:00
2013-12-17 08:11:52 -05:00
2013-10-09 12:36:13 +02:00
2013-11-14 16:55:11 +09:00
2013-11-27 13:52:47 -05:00
2013-11-13 12:09:12 +09:00
2013-11-09 00:16:23 -05:00
2013-11-28 09:49:41 -08:00
2014-01-13 13:42:56 +01:00
2013-12-19 13:50:32 -05:00
2014-01-13 13:41:50 +01:00
2013-08-30 23:44:11 -07:00
2014-01-13 13:41:06 +01:00
2013-11-15 13:51:36 +09:00
2013-10-19 19:45:35 -04:00
2013-11-15 09:32:22 +09:00
2013-12-18 19:04:50 -08:00
2013-09-30 14:31:02 -07:00
2013-11-13 12:09:26 +09:00
2013-09-12 15:38:03 -07:00
2013-11-13 12:08:59 +09:00
2013-12-13 15:59:11 +00:00
2013-10-25 17:15:18 -04:00
2013-09-25 17:17:01 +01:00
2013-11-15 13:27:50 +09:00
2013-09-07 14:35:32 -07:00
2013-10-30 12:02:58 +08:00
2013-11-13 12:09:35 +09:00
2013-09-28 12:35:52 -07:00
2013-10-24 23:43:29 -04:00
2013-09-30 14:31:03 -07:00
2013-11-13 12:09:33 +09:00
2013-12-18 19:04:50 -08:00
2013-09-12 15:38:02 -07:00
2013-11-09 00:16:29 -05:00
2013-11-15 09:32:22 +09:00
2013-11-15 09:32:22 +09:00
2013-11-11 12:43:38 +01:00
2013-11-13 12:09:13 +09:00
2013-11-13 12:09:33 +09:00
2014-01-13 13:46:42 +01:00
2013-12-10 18:25:28 +00:00
2013-12-10 18:25:28 +00:00
2013-09-11 15:58:27 -07:00
2013-11-19 16:39:05 -05:00
2013-11-19 14:59:50 +01:00
2013-08-30 23:44:11 -07:00
2013-11-15 09:32:22 +09:00
2013-09-24 10:35:19 +01:00
2013-12-13 15:59:11 +00:00
2013-08-30 23:44:11 -07:00
2013-09-24 17:00:25 -07:00
2013-12-15 11:45:27 -08:00