summaryrefslogtreecommitdiffstats
path: root/kernel/rcu/tree.c
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.ibm.com>2018-10-03 20:02:05 +0200
committerPaul E. McKenney <paulmck@linux.ibm.com>2018-12-01 21:45:38 +0100
commit8dd3b54689d9a2103c0817f2b7adc51760a45551 (patch)
treef7b84f55663754e582999cf06175116e741d5ef5 /kernel/rcu/tree.c
parentrcu: Print per-CPU callback counts for forward-progress failures (diff)
downloadlinux-8dd3b54689d9a2103c0817f2b7adc51760a45551.tar.xz
linux-8dd3b54689d9a2103c0817f2b7adc51760a45551.zip
rcutorture: Print GP age upon forward-progress failure
Signed-off-by: Paul E. McKenney <paulmck@linux.ibm.com>
Diffstat (limited to '')
-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();