aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/rcu/tree.c
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>2018-01-10 15:21:40 -0500
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2018-02-20 19:10:27 -0500
commit62df63e048daf4e29373bbbaae3751e5af5d9502 (patch)
treeecb95b4ef4523d1292147acd11a9af6d13ac7a88 /kernel/rcu/tree.c
parentbec06785fe2c866ccf39cafa18935d88d77d559a (diff)
rcu: Remove obsolete callback-invocation statistics for debugfs
The debugfs interface displayed statistics on RCU callback invocation but this interface has since been removed. This commit therefore removes the no-longer-used rcu_data structure's ->n_cbs_invoked and ->n_nocbs_invoked fields along with their updates. If this information proves necessary in the future, the corresponding event traces will be added. Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'kernel/rcu/tree.c')
-rw-r--r--kernel/rcu/tree.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/rcu/tree.c b/kernel/rcu/tree.c
index 66c73a214cff..8e0711954bbf 100644
--- a/kernel/rcu/tree.c
+++ b/kernel/rcu/tree.c
@@ -2691,7 +2691,6 @@ static void rcu_do_batch(struct rcu_state *rsp, struct rcu_data *rdp)
2691 /* Update counts and requeue any remaining callbacks. */ 2691 /* Update counts and requeue any remaining callbacks. */
2692 rcu_segcblist_insert_done_cbs(&rdp->cblist, &rcl); 2692 rcu_segcblist_insert_done_cbs(&rdp->cblist, &rcl);
2693 smp_mb(); /* List handling before counting for rcu_barrier(). */ 2693 smp_mb(); /* List handling before counting for rcu_barrier(). */
2694 rdp->n_cbs_invoked += count;
2695 rcu_segcblist_insert_count(&rdp->cblist, &rcl); 2694 rcu_segcblist_insert_count(&rdp->cblist, &rcl);
2696 2695
2697 /* Reinstate batch limit if we have worked down the excess. */ 2696 /* Reinstate batch limit if we have worked down the excess. */