diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2012-07-11 05:23:18 -0700 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2012-09-23 07:41:55 -0700 |
commit | 25d30cf4250f74e5ceb35f8f39739782408db633 (patch) | |
tree | 0dd1ff6527fbdd42fd023d68f9a07fb0856d0de0 /kernel/rcutree_plugin.h | |
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>
Diffstat (limited to 'kernel/rcutree_plugin.h')
0 files changed, 0 insertions, 0 deletions