diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2018-04-12 11:24:09 -0700 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2018-05-15 10:30:32 -0700 |
commit | 41e80595abfc608eb0fe5148bcaed1ed78d7a6b7 (patch) | |
tree | 0f32698b8e2e74343af7bcf3a75e46ed49fdc0f2 /tools/perf/scripts/python/syscall-counts.py | |
parent | d5cd96851d520e5caff13ddf99e3b2b759ae3b1d (diff) |
rcu: Make rcu_start_future_gp() caller select grace period
The rcu_accelerate_cbs() function selects a grace-period target, which
it uses to have rcu_segcblist_accelerate() assign numbers to recently
queued callbacks. Then it invokes rcu_start_future_gp(), which selects
a grace-period target again, which is a bit pointless. This commit
therefore changes rcu_start_future_gp() to take the grace-period target as
a parameter, thus avoiding double selection. This commit also changes
the name of rcu_start_future_gp() to rcu_start_this_gp() to reflect
this change in functionality, and also makes a similar change to the
name of trace_rcu_future_gp().
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Tested-by: Nicholas Piggin <npiggin@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions