[PATCH tip/core/rcu 11/17] rcutorture: Print GP age upon forward-progress failure

From: Paul E. McKenney
Date: Sun Nov 11 2018 - 15:22:38 EST


Signed-off-by: Paul E. McKenney <paulmck@xxxxxxxxxxxxx>
---
kernel/rcu/tree.c | 2 ++
1 file changed, 2 insertions(+)

diff --git a/kernel/rcu/tree.c b/kernel/rcu/tree.c
index cef7d9867508..95a3825b1b19 100644
--- a/kernel/rcu/tree.c
+++ b/kernel/rcu/tree.c
@@ -2679,6 +2679,8 @@ void rcu_fwd_progress_check(unsigned long j)
struct rcu_data *rdp;

if (rcu_gp_in_progress()) {
+ pr_info("%s: GP age %lu jiffies\n",
+ __func__, jiffies - rcu_state.gp_start);
show_rcu_gp_kthreads();
} else {
preempt_disable();
--
2.17.1