1
0
Fork 0
tuned/profiles/realtime/script.sh
Ondřej Lysoněk c2dfc1f806 profiles: Replace calls to defirqaffinity.py
In the cpu-partitioning profile, IRQ affinity change is already done
as part of the 'isolated_cores' option of the scheduler plugin, so
calling defirqaffinity is, at best, redundant. So let's remove the call.

In the realtime* profiles, it's essentially the same, except that tuna
was used instead of isolated_cores. So let's use built-in functionality
instead of tuna and drop calls to defirqaffinity.

Resolves: rhbz#1590937

Signed-off-by: Ondřej Lysoněk <olysonek@redhat.com>
2018-07-03 00:15:34 +02:00

18 lines
170 B
Bash
Executable file

#!/bin/sh
. /usr/lib/tuned/functions
start() {
return 0
}
stop() {
return 0
}
verify() {
tuna -c "$TUNED_isolated_cores" -P
return "$?"
}
process $@