diff options
Diffstat (limited to 'kernel/rcutree.c')
| -rw-r--r-- | kernel/rcutree.c | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/kernel/rcutree.c b/kernel/rcutree.c index 2c4ee4cdbc0e..2cf8eb3e2d43 100644 --- a/kernel/rcutree.c +++ b/kernel/rcutree.c | |||
| @@ -746,14 +746,15 @@ static void print_other_cpu_stall(struct rcu_state *rsp) | |||
| 746 | rcu_for_each_leaf_node(rsp, rnp) { | 746 | rcu_for_each_leaf_node(rsp, rnp) { |
| 747 | raw_spin_lock_irqsave(&rnp->lock, flags); | 747 | raw_spin_lock_irqsave(&rnp->lock, flags); |
| 748 | ndetected += rcu_print_task_stall(rnp); | 748 | ndetected += rcu_print_task_stall(rnp); |
| 749 | if (rnp->qsmask != 0) { | ||
| 750 | for (cpu = 0; cpu <= rnp->grphi - rnp->grplo; cpu++) | ||
| 751 | if (rnp->qsmask & (1UL << cpu)) { | ||
| 752 | print_cpu_stall_info(rsp, | ||
| 753 | rnp->grplo + cpu); | ||
| 754 | ndetected++; | ||
| 755 | } | ||
| 756 | } | ||
| 749 | raw_spin_unlock_irqrestore(&rnp->lock, flags); | 757 | raw_spin_unlock_irqrestore(&rnp->lock, flags); |
| 750 | if (rnp->qsmask == 0) | ||
| 751 | continue; | ||
| 752 | for (cpu = 0; cpu <= rnp->grphi - rnp->grplo; cpu++) | ||
| 753 | if (rnp->qsmask & (1UL << cpu)) { | ||
| 754 | print_cpu_stall_info(rsp, rnp->grplo + cpu); | ||
| 755 | ndetected++; | ||
| 756 | } | ||
| 757 | } | 758 | } |
| 758 | 759 | ||
| 759 | /* | 760 | /* |
