* [PATCH 10/10] selftests/verification: Lower stressor priority in rv_deadline
[not found] <20260929124908.177676-1-gmonaco@redhat.com>
@ 2026-09-29 12:49 ` Gabriele Monaco
0 siblings, 0 replies; only message in thread
From: Gabriele Monaco @ 2026-09-29 12:49 UTC (permalink / raw)
To: linux-kernel, linux-trace-kernel, Steven Rostedt, Gabriele Monaco,
Shuah Khan, linux-kselftest
Cc: Nam Cao, Wen Yang, Juri Lelli
The rv_deadline selftest case runs a few stressors with Round-Robin
policy and priority 50 for 5 seconds. This may starve RCU callbacks and
timers on PREEMPT_RT, which results in splats, runtime replenishment
errors and (legit) model failures.
Lower the priority to 1 to allow ktimers and rcu threads (usually FF:1)
to run when they need to.
Signed-off-by: Gabriele Monaco <gmonaco@redhat.com>
---
tools/testing/selftests/verification/test.d/rv_deadline.tc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/testing/selftests/verification/test.d/rv_deadline.tc b/tools/testing/selftests/verification/test.d/rv_deadline.tc
index fc95267dbb82..5f57a3753f8a 100644
--- a/tools/testing/selftests/verification/test.d/rv_deadline.tc
+++ b/tools/testing/selftests/verification/test.d/rv_deadline.tc
@@ -8,8 +8,8 @@ load() { # returns true if there was a reaction
lines_before=$(dmesg | wc -l)
stress-ng --cpu 2 --sched deadline --sched-period 100000000 \
--sched-deadline 100000000 --sched-runtime 20000000 -t 5 &
- stress-ng --cpu 2 --sched rr --sched-prio 50 --cyclic 1 \
- --cyclic-policy rr --cyclic-prio 50 -t 5 &
+ stress-ng --cpu 2 --sched rr --sched-prio 1 --cyclic 1 \
+ --cyclic-policy rr --cyclic-prio 1 -t 5 &
wait
dmesg | tail -n +$((lines_before + 1)) | grep -q "rv: monitor [a-z]\+ does not allow event"
}
--
2.55.0
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-29 12:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20260929124908.177676-1-gmonaco@redhat.com>
2026-09-29 12:49 ` [PATCH 10/10] selftests/verification: Lower stressor priority in rv_deadline Gabriele Monaco
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).