• Paul E. McKenney's avatar
    rcu: Make rcu_start_future_gp() caller select grace period · 41e80595
    Paul E. McKenney authored
    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: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
    Tested-by: default avatarNicholas Piggin <npiggin@gmail.com>
    41e80595
tree_plugin.h 79 KB