diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2017-03-22 15:26:18 -0700 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2017-04-18 11:38:22 -0700 |
commit | 80a7956fe36c2ee40c6ff12c77926d267802b7c8 (patch) | |
tree | e8140078439a4e0fda35fa54d000212be1f6f00e /kernel/Kconfig.locks | |
parent | f1ec57a462314f3d1cd0c9c8a04979228aa9d38c (diff) | |
download | op-kernel-dev-80a7956fe36c2ee40c6ff12c77926d267802b7c8.zip op-kernel-dev-80a7956fe36c2ee40c6ff12c77926d267802b7c8.tar.gz |
srcu: Merge ->srcu_state into ->srcu_gp_seq
Updating ->srcu_state and ->srcu_gp_seq will lead to extremely complex
race conditions given multiple callback queues, so this commit takes
advantage of the two-bit state now available in rcu_seq counters to
store the state in the bottom two bits of ->srcu_gp_seq.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'kernel/Kconfig.locks')
0 files changed, 0 insertions, 0 deletions