]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Mon, 23 Jul 2012 15:30:28 +0000 (08:30 -0700)
commitb604a3db23ec984ec3c0b9c2a25cc5024a8bc0b3
treeb3c0de3d5d7be69c7a6c3f2594a0614a78ea17dd
parent264c81e83e0ba1fa8cd1067a6264958040775b12
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>
kernel/rcutree.c