diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2018-01-10 12:16:42 -0800 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2018-02-20 16:10:27 -0800 |
commit | bec06785fe2c866ccf39cafa18935d88d77d559a (patch) | |
tree | 70b634575dc6b661a57d8da2abf2fec13eabee09 /kernel/rcu/tree_plugin.h | |
parent | 3caa973b7a260e7a2a69edc94c300ab9c65148c3 (diff) | |
download | op-kernel-dev-bec06785fe2c866ccf39cafa18935d88d77d559a.zip op-kernel-dev-bec06785fe2c866ccf39cafa18935d88d77d559a.tar.gz |
rcu: Remove obsolete boost statistics for debugfs
The debugfs interface displayed statistics on RCU priority boosting,
but this interface has since been removed. This commit therefore
removes the no-longer-used rcu_data structure's ->n_tasks_boosted,
->n_exp_boosts, and ->n_exp_boosts and 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_plugin.h')
-rw-r--r-- | kernel/rcu/tree_plugin.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/kernel/rcu/tree_plugin.h b/kernel/rcu/tree_plugin.h index 7e31fb1..0d55298 100644 --- a/kernel/rcu/tree_plugin.h +++ b/kernel/rcu/tree_plugin.h @@ -963,14 +963,10 @@ static int rcu_boost(struct rcu_node *rnp) * expedited grace period must boost all blocked tasks, including * those blocking the pre-existing normal grace period. */ - if (rnp->exp_tasks != NULL) { + if (rnp->exp_tasks != NULL) tb = rnp->exp_tasks; - rnp->n_exp_boosts++; - } else { + else tb = rnp->boost_tasks; - rnp->n_normal_boosts++; - } - rnp->n_tasks_boosted++; /* * We boost task t by manufacturing an rt_mutex that appears to |