mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
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 <[email protected]> Signed-off-by: Paul E. McKenney <[email protected]>
This commit is contained in:
parent
b6505deafa
commit
999c286347
1 changed files with 0 additions and 2 deletions
|
|
@ -3629,7 +3629,6 @@ static int rcu_cpu_notify(struct notifier_block *self,
|
|||
struct rcu_node *rnp = rdp->mynode;
|
||||
struct rcu_state *rsp;
|
||||
|
||||
trace_rcu_utilization(TPS("Start CPU hotplug"));
|
||||
switch (action) {
|
||||
case CPU_UP_PREPARE:
|
||||
case CPU_UP_PREPARE_FROZEN:
|
||||
|
|
@ -3661,7 +3660,6 @@ static int rcu_cpu_notify(struct notifier_block *self,
|
|||
default:
|
||||
break;
|
||||
}
|
||||
trace_rcu_utilization(TPS("End CPU hotplug"));
|
||||
return NOTIFY_OK;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue