[PATCH 08/17] rcutorture: Emit the version with the statistics prefix
From: Kunwu Chan
Date: Tue Dec 01 2026 - 11:20:53 EST
The console progress parser matches the suite prefix and ver on the
same line. Emit both with one printk so that a split continuation
cannot separate them.
Signed-off-by: Kunwu Chan <kunwu.chan@xxxxxxxxx>
---
kernel/rcu/rcutorture.c | 17 ++++++++---------
1 file changed, 8 insertions(+), 9 deletions(-)
diff --git a/kernel/rcu/rcutorture.c b/kernel/rcu/rcutorture.c
index 67fc770abc10..397220ed7064 100644
--- a/kernel/rcu/rcutorture.c
+++ b/kernel/rcu/rcutorture.c
@@ -3342,16 +3342,15 @@ rcu_torture_stats_print(void)
break;
} // Same for "j", for the readers in NMI.
- pr_alert("%s%s ", torture_type, TORTURE_FLAG);
rtcp = rcu_access_pointer(rcu_torture_current);
- pr_cont("rtc: %p %s: %lu tfle: %d rta: %d rtaf: %d rtf: %d ",
- rtcp,
- rtcp && !rcu_stall_is_suppressed_at_boot() ? "ver" : "VER",
- rcu_torture_current_version,
- list_empty(&rcu_torture_freelist),
- atomic_read(&n_rcu_torture_alloc),
- atomic_read(&n_rcu_torture_alloc_fail),
- atomic_read(&n_rcu_torture_free));
+ pr_alert("%s%s rtc: %p %s: %lu tfle: %d rta: %d rtaf: %d rtf: %d ",
+ torture_type, TORTURE_FLAG, rtcp,
+ rtcp && !rcu_stall_is_suppressed_at_boot() ? "ver" : "VER",
+ rcu_torture_current_version,
+ list_empty(&rcu_torture_freelist),
+ atomic_read(&n_rcu_torture_alloc),
+ atomic_read(&n_rcu_torture_alloc_fail),
+ atomic_read(&n_rcu_torture_free));
pr_cont("rtmbe: %d rtmbkf: %d/%d rtbe: %ld rtbke: %ld ",
atomic_read(&n_rcu_torture_mberror),
atomic_read(&n_rcu_torture_mbchk_fail), atomic_read(&n_rcu_torture_mbchk_tries),
--
2.43.0