From: Paul E. McKenney Date: Thu, 8 May 2025 23:45:02 +0000 (-0700) Subject: rcutorture: Print only one rtort_pipe_count splat X-Git-Tag: v6.17-rc1~122^2^4~18 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=9ea40db969115022335a553b4f6fe731dcd90c2a;p=linux.git rcutorture: Print only one rtort_pipe_count splat The rcu_torture_writer() function scans the memory blocks after a stutter (or forced idle) interval, complaining about any that have not passed through ten grace periods since the start of the stutter interval. But one splat suffices, so this commit therefore stops at the first splat. Signed-off-by: Paul E. McKenney Signed-off-by: Joel Fernandes Signed-off-by: Neeraj Upadhyay (AMD) --- diff --git a/kernel/rcu/rcutorture.c b/kernel/rcu/rcutorture.c index 70ec0f21abc3..d1e0d61d8815 100644 --- a/kernel/rcu/rcutorture.c +++ b/kernel/rcu/rcutorture.c @@ -1722,6 +1722,7 @@ rcu_torture_writer(void *arg) cur_ops->gp_kthread_dbg(); WARN(1, "%s: rtort_pipe_count: %d\n", __func__, rcu_tortures[i].rtort_pipe_count); rcu_ftrace_dump(DUMP_ALL); + break; } if (stutter_waited) sched_set_normal(current, oldnice);