On Tue, Jun 30, 2015 at 02:48:27PM -0700, Paul E. McKenney wrote:
>                       rsp->gp_state = RCU_GP_WAIT_FQS;
>                       ret = wait_event_interruptible_timeout(rsp->gp_wq,
> +                             ((gf = READ_ONCE(rsp->gp_flags)) &
> +                              RCU_GP_FLAG_FQS) ||
> +                             (!READ_ONCE(rnp->qsmask) &&
> +                              !rcu_preempt_blocked_readers_cgp(rnp)) ||
> +                             rcu_exp_gp_seq_done(rsp->exp_rsp,
> +                                                 rsp->gp_exp_snap),
> +                             j);
>                       rsp->gp_state = RCU_GP_DONE_FQS;

How can the GP be done if we timed out or got interrupted?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to