diff options
author | Alan Maguire <alan.maguire@oracle.com> | 2020-02-19 12:33:29 +0300 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2020-05-01 18:25:39 +0300 |
commit | 57c4cfd4a2eef8f94052bd7c0fce0981f74fb213 (patch) | |
tree | 48fe2e8679bb819f8e7b0538c1a59e1c335a5dee /mm/slub.c | |
parent | f0c0d0cf590f71b2213b29a7ded2cde3d0a1a0ba (diff) | |
download | linux-57c4cfd4a2eef8f94052bd7c0fce0981f74fb213.tar.xz |
ftrace/selftests: workaround cgroup RT scheduling issues
wakeup_rt.tc and wakeup.tc tests in tracers/ subdirectory
fail due to the chrt command returning:
chrt: failed to set pid 0's policy: Operation not permitted.
To work around this, temporarily disable grout RT scheduling
during ftracetest execution. Restore original value on
test run completion. With these changes in place, both
tests consistently pass.
Fixes: c575dea2c1a5 ("selftests/ftrace: Add wakeup_rt tracer testcase")
Fixes: c1edd060b413 ("selftests/ftrace: Add wakeup tracer testcase")
Signed-off-by: Alan Maguire <alan.maguire@oracle.com>
Acked-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'mm/slub.c')
0 files changed, 0 insertions, 0 deletions