aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>2014-12-10 10:45:13 -0500
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2015-01-06 14:02:53 -0500
commit6cd534ef8bfe422a5a847b953d1039841509c374 (patch)
treedbbac5df276f7e2e7379dcb66d8a690cbed6e261
parentabaf3f9d275b8d856ae5e47531e40c0bfeac012b (diff)
rcu: Don't scan root rcu_node structure for stalled tasks
Now that blocked tasks are no longer migrated to the root rcu_node structure, there is no need to scan the root rcu_node structure for blocked tasks stalling the current grace period. This commit therefore removes this scan. Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
-rw-r--r--kernel/rcu/tree.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/kernel/rcu/tree.c b/kernel/rcu/tree.c
index 24d3c67f7be7..4ed2c2842103 100644
--- a/kernel/rcu/tree.c
+++ b/kernel/rcu/tree.c
@@ -1107,15 +1107,6 @@ static void print_other_cpu_stall(struct rcu_state *rsp)
1107 raw_spin_unlock_irqrestore(&rnp->lock, flags); 1107 raw_spin_unlock_irqrestore(&rnp->lock, flags);
1108 } 1108 }
1109 1109
1110 /*
1111 * Now rat on any tasks that got kicked up to the root rcu_node
1112 * due to CPU offlining.
1113 */
1114 rnp = rcu_get_root(rsp);
1115 raw_spin_lock_irqsave(&rnp->lock, flags);
1116 ndetected += rcu_print_task_stall(rnp);
1117 raw_spin_unlock_irqrestore(&rnp->lock, flags);
1118
1119 print_cpu_stall_info_end(); 1110 print_cpu_stall_info_end();
1120 for_each_possible_cpu(cpu) 1111 for_each_possible_cpu(cpu)
1121 totqlen += per_cpu_ptr(rsp->rda, cpu)->qlen; 1112 totqlen += per_cpu_ptr(rsp->rda, cpu)->qlen;