On Tue, 18 Jun 2019, Kurt Kanzenbach wrote: > Deadline tasks cannot be pinned to specific CPUs by using affinities. Cgroups > have to be used instead. Cylicdeadline has code to do so. However, that code is > never executed, because the all_cpus variable is reassigned after argument > parsing. Remove it. > > Signed-off-by: Kurt Kanzenbach <kurt@xxxxxxxxxxxxx> > --- > src/sched_deadline/cyclicdeadline.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/src/sched_deadline/cyclicdeadline.c b/src/sched_deadline/cyclicdeadline.c > index 16d986a02244..7b5e8b36c4ea 100644 > --- a/src/sched_deadline/cyclicdeadline.c > +++ b/src/sched_deadline/cyclicdeadline.c > @@ -1165,7 +1165,6 @@ int main (int argc, char **argv) > exit(-1); > } > > - all_cpus = 1; > if (!all_cpus) { > int *pids; > > -- > 2.11.0 > > Signed-off-by: John Kacur <jkacur@xxxxxxxxxx>