|
@@ -583,7 +583,8 @@ static void print_other_cpu_stall(struct rcu_state *rsp)
|
|
}
|
|
}
|
|
printk("} (detected by %d, t=%ld jiffies)\n",
|
|
printk("} (detected by %d, t=%ld jiffies)\n",
|
|
smp_processor_id(), (long)(jiffies - rsp->gp_start));
|
|
smp_processor_id(), (long)(jiffies - rsp->gp_start));
|
|
- trigger_all_cpu_backtrace();
|
|
|
|
|
|
+ if (!trigger_all_cpu_backtrace())
|
|
|
|
+ dump_stack();
|
|
|
|
|
|
/* If so configured, complain about tasks blocking the grace period. */
|
|
/* If so configured, complain about tasks blocking the grace period. */
|
|
|
|
|
|
@@ -604,7 +605,8 @@ static void print_cpu_stall(struct rcu_state *rsp)
|
|
*/
|
|
*/
|
|
printk(KERN_ERR "INFO: %s detected stall on CPU %d (t=%lu jiffies)\n",
|
|
printk(KERN_ERR "INFO: %s detected stall on CPU %d (t=%lu jiffies)\n",
|
|
rsp->name, smp_processor_id(), jiffies - rsp->gp_start);
|
|
rsp->name, smp_processor_id(), jiffies - rsp->gp_start);
|
|
- trigger_all_cpu_backtrace();
|
|
|
|
|
|
+ if (!trigger_all_cpu_backtrace())
|
|
|
|
+ dump_stack();
|
|
|
|
|
|
raw_spin_lock_irqsave(&rnp->lock, flags);
|
|
raw_spin_lock_irqsave(&rnp->lock, flags);
|
|
if (ULONG_CMP_GE(jiffies, rsp->jiffies_stall))
|
|
if (ULONG_CMP_GE(jiffies, rsp->jiffies_stall))
|