summaryrefslogtreecommitdiffstats
path: root/init/calibrate.c
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>2018-04-12 20:24:09 +0200
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2018-05-15 19:30:32 +0200
commit41e80595abfc608eb0fe5148bcaed1ed78d7a6b7 (patch)
tree0f32698b8e2e74343af7bcf3a75e46ed49fdc0f2 /init/calibrate.c
parentrcu: Inline rcu_start_gp_advanced() into rcu_start_future_gp() (diff)
downloadlinux-41e80595abfc608eb0fe5148bcaed1ed78d7a6b7.tar.xz
linux-41e80595abfc608eb0fe5148bcaed1ed78d7a6b7.zip
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 'init/calibrate.c')
0 files changed, 0 insertions, 0 deletions