rcu_tree: Avoid touching rnp->completed when a new GP is started
authorLai Jiangshan <laijs@cn.fujitsu.com>
Tue, 13 Jan 2015 07:30:34 +0000 (15:30 +0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Thu, 26 Feb 2015 01:03:05 +0000 (17:03 -0800)
In rcu_gp_init(), rnp->completed equals to rsp->completed in THEORY,
we don't need to touch it normally.  If something goes wrong,
it will complain and fixup rnp->completed and avoid oops.
This commit thus avoids the normal needless store to rnp->completed.

Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>

No differences found