diff options
author | Kurt Kanzenbach <kurt@linutronix.de> | 2019-06-18 12:38:41 +0200 |
---|---|---|
committer | John Kacur <jkacur@redhat.com> | 2019-06-19 17:41:31 +0200 |
commit | 5a17ea9879fe820b3ff276b1ec0d82f402b361b8 (patch) | |
tree | ba02e63db8acde428d6ed7675d8086344bda6626 | |
parent | 57d6c38a4113668b64d2304e027e35d5b22c0a5c (diff) | |
download | rt-tests-5a17ea9879fe820b3ff276b1ec0d82f402b361b8.tar.gz rt-tests-5a17ea9879fe820b3ff276b1ec0d82f402b361b8.tar.xz |
rt-tests: cyclicdeadline: Fix cgroup setup
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@linutronix.de>
Signed-off-by: John Kacur <jkacur@redhat.com>
-rw-r--r-- | src/sched_deadline/cyclicdeadline.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/sched_deadline/cyclicdeadline.c b/src/sched_deadline/cyclicdeadline.c index 16d986a..7b5e8b3 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; |