aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>2015-02-01 00:12:02 -0500
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2015-03-11 16:22:39 -0400
commit999c286347538388170f919146d7cfa58689472e (patch)
treeeef4c1ae5e39c7c1db844dbecc3155be55daa92d /kernel
parentb6505deafa1397c81c3f268bfe0f349cf0be2b97 (diff)
rcu: Remove event tracing from rcu_cpu_notify(), used by offline CPUs
Offline CPUs cannot safely invoke trace events, but such CPUs do execute within rcu_cpu_notify(). Therefore, this commit removes the trace events from rcu_cpu_notify(). These trace events are for utilization, against which rcu_cpu_notify() execution time should be negligible. Reported-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/rcu/tree.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/kernel/rcu/tree.c b/kernel/rcu/tree.c
index b42001fd55fb..a7151d26b940 100644
--- a/kernel/rcu/tree.c
+++ b/kernel/rcu/tree.c
@@ -3629,7 +3629,6 @@ static int rcu_cpu_notify(struct notifier_block *self,
3629 struct rcu_node *rnp = rdp->mynode; 3629 struct rcu_node *rnp = rdp->mynode;
3630 struct rcu_state *rsp; 3630 struct rcu_state *rsp;
3631 3631
3632 trace_rcu_utilization(TPS("Start CPU hotplug"));
3633 switch (action) { 3632 switch (action) {
3634 case CPU_UP_PREPARE: 3633 case CPU_UP_PREPARE:
3635 case CPU_UP_PREPARE_FROZEN: 3634 case CPU_UP_PREPARE_FROZEN:
@@ -3661,7 +3660,6 @@ static int rcu_cpu_notify(struct notifier_block *self,
3661 default: 3660 default:
3662 break; 3661 break;
3663 } 3662 }
3664 trace_rcu_utilization(TPS("End CPU hotplug"));
3665 return NOTIFY_OK; 3663 return NOTIFY_OK;
3666} 3664}
3667 3665