diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2018-07-05 17:59:36 -0700 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2018-08-30 16:03:23 -0700 |
commit | 4e95020cdd34bbfc86f9c705f4d46ed63fa2e231 (patch) | |
tree | 6c03573dba7cad03d06d395e78b88e36127fd92a /kernel/rcu/tree.c | |
parent | 8ff0b90780910821a53c70d5e68d28382f2a1a07 (diff) | |
download | linux-4e95020cdd34bbfc86f9c705f4d46ed63fa2e231.tar.bz2 |
rcu: Inline increment_cpu_stall_ticks() into its sole caller
Consolidation of the RCU flavors into one makes increment_cpu_stall_ticks()
a trivial one-line function with only one caller. This commit therefore
inlines it.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'kernel/rcu/tree.c')
-rw-r--r-- | kernel/rcu/tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/rcu/tree.c b/kernel/rcu/tree.c index c1ce4cf41068..ee130b0dc54a 100644 --- a/kernel/rcu/tree.c +++ b/kernel/rcu/tree.c @@ -2555,7 +2555,7 @@ static void rcu_do_batch(struct rcu_data *rdp) void rcu_check_callbacks(int user) { trace_rcu_utilization(TPS("Start scheduler-tick")); - increment_cpu_stall_ticks(); + raw_cpu_inc(rcu_data.ticks_this_gp); rcu_flavor_check_callbacks(user); if (rcu_pending()) invoke_rcu_core(); |