Skip to content
  • Paul E. McKenney's avatar
    rcu: Make FQS schedule advance only if FQS happened · fcfd0a23
    Paul E. McKenney authored
    
    
    Currently, the force-quiescent-state (FQS) code in rcu_gp_kthread() can
    advance the next FQS even if one was not executed last time.  This can
    happen due timeout-duration uncertainty.  This commit therefore avoids
    advancing the FQS schedule unless an FQS was just executed.  In the
    corner case where an FQS was not executed, but is due now, the code does
    a one-jiffy wait.
    
    This change prepares for kthread kicking.
    
    Signed-off-by: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
    fcfd0a23