rcu: Adjust for unconditional ->completed assignment
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 11 Jul 2012 12:23:18 +0000 (05:23 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Sun, 23 Sep 2012 14:41:55 +0000 (07:41 -0700)
commit25d30cf4250f74e5ceb35f8f39739782408db633
tree0dd1ff6527fbdd42fd023d68f9a07fb0856d0de0
parent661a85dc0d2ec0404e3b80909e413a9d5e42a239
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>
kernel/rcutree.c
This page took 0.02681 seconds and 5 git commands to generate.