summaryrefslogtreecommitdiffstats
path: root/kernel/rcu
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.ibm.com>2018-10-03 11:02:05 -0700
committerPaul E. McKenney <paulmck@linux.ibm.com>2018-12-01 12:45:38 -0800
commit8dd3b54689d9a2103c0817f2b7adc51760a45551 (patch)
treef7b84f55663754e582999cf06175116e741d5ef5 /kernel/rcu
parentbfcfcffc5f23e76a1b88f7412ee7efaec5107b28 (diff)
downloadlinux-8dd3b54689d9a2103c0817f2b7adc51760a45551.tar.bz2
rcutorture: Print GP age upon forward-progress failure
Signed-off-by: Paul E. McKenney <paulmck@linux.ibm.com>
Diffstat (limited to 'kernel/rcu')
-rw-r--r--kernel/rcu/tree.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/rcu/tree.c b/kernel/rcu/tree.c
index 90a67c75a447..f91631541965 100644
--- a/kernel/rcu/tree.c
+++ b/kernel/rcu/tree.c
@@ -2682,6 +2682,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();