/* Return true if an RCU grace period is in progress. The ACCESS_ONCE()s permit this function to be invoked without holding the root rcu_node structure's ->lock, but of course results can be subject to change.  */
static int rcu_gp_in_progress(struct rcu_state *rsp)
/* Return true if an RCU grace period is in progress. The ACCESS_ONCE()s permit this function to be invoked without holding the root rcu_node structure's ->lock, but of course results can be subject to change.  */
static int rcu_gp_in_progress(struct rcu_state *rsp)
{
	return ACCESS_ONCE(rsp->completed) != ACCESS_ONCE(rsp->gpnum);
}