commit | e4032e5c458e0cec8ba70503ff39f5a105108bb9 | [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> | Tue Jan 13 01:26:02 2015 -0800 |
tree | 5fc36ea5f7c3dfd515ee35229e4b7216d1fe54ce | |
parent | 835056e0bcf9000e20fdcf5657503cdb615e5a7c [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>