Thread (15 messages) 15 messages, 2 authors, 1d ago
WARM1d

[PATCH 10/10] selftests/verification: Lower stressor priority in rv_deadline

From: Gabriele Monaco <gmonaco@redhat.com>
Date: 2026-09-29 12:50:06
Also in: linux-kselftest, lkml
Subsystem: kernel selftest framework, runtime verification (rv), the rest · Maintainers: Shuah Khan, Shuah Khan, Steven Rostedt, Gabriele Monaco, Linus Torvalds

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help