commit | 25d30cf4250f74e5ceb35f8f39739782408db633 | [log] [tgz] |
---|---|---|
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | Wed Jul 11 05:23:18 2012 -0700 |
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | Sun Sep 23 07:41:55 2012 -0700 |
tree | 0dd1ff6527fbdd42fd023d68f9a07fb0856d0de0 | |
parent | 661a85dc0d2ec0404e3b80909e413a9d5e42a239 [diff] |
rcu: Adjust for unconditional ->completed assignment Now that the rcu_node structures' ->completed fields are unconditionally assigned at grace-period cleanup time, they should already have the correct value for the new grace period at grace-period initialization time. This commit therefore inserts a WARN_ON_ONCE() to verify this invariant. Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Reviewed-by: Josh Triplett <josh@joshtriplett.org>