Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 268974
b: refs/heads/master
c: 4627e24
h: refs/heads/master
v: v3
  • Loading branch information
Paul E. McKenney committed Sep 29, 2011
1 parent 4c23b25 commit 0230b0a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6206ab9bab620fc0fbbed30ce20d145b0b3d1840
refs/heads/master: 4627e240dfee4a0a46a58010b1b721b4ded1918f
6 changes: 4 additions & 2 deletions trunk/kernel/rcutree.c
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,8 @@ static void print_other_cpu_stall(struct rcu_state *rsp)
}
printk("} (detected by %d, t=%ld jiffies)\n",
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. */

Expand All @@ -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",
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);
if (ULONG_CMP_GE(jiffies, rsp->jiffies_stall))
Expand Down

0 comments on commit 0230b0a

Please sign in to comment.