diff options
author | Paul E. McKenney <paul.mckenney@linaro.org> | 2012-08-21 15:00:05 -0700 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2012-09-23 07:41:56 -0700 |
commit | d7d6a11e8609f0319d4a2d8ede348f8b3374b652 (patch) | |
tree | 64a2e3260690a85fe637a3e34c94e8ca540e8fc6 /block | |
parent | 1943c89de700248d68385300a9b5588a1e314f90 (diff) | |
download | op-kernel-dev-d7d6a11e8609f0319d4a2d8ede348f8b3374b652.zip op-kernel-dev-d7d6a11e8609f0319d4a2d8ede348f8b3374b652.tar.gz |
rcu: Simplify quiescent-state detection
The current quiescent-state detection algorithm is needlessly
complex. It records the grace-period number corresponding to
the quiescent state at the time of the quiescent state, which
works, but it seems better to simply erase any record of previous
quiescent states at the time that the CPU notices the new grace
period. This has the further advantage of removing another piece
of RCU for which lockless reasoning is required.
Therefore, this commit makes this change.
Signed-off-by: Paul E. McKenney <paul.mckenney@linaro.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions