commit | 6e4d41d1e04572afcb9a974633d0babef48d0dba | [log] [tgz] |
---|---|---|
author | Lai Jiangshan <laijs@cn.fujitsu.com> | Tue Jan 13 15:30:34 2015 +0800 |
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | Wed Jan 14 13:26:49 2015 -0800 |
tree | 5fc36ea5f7c3dfd515ee35229e4b7216d1fe54ce | |
parent | 66129ec3bdb7552da88022674c55ea30776f4de7 [diff] |
rcu_tree: Avoid touching rnp->completed when a new GP is started 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>