commit | 8b2f63ab05eb233b2b396e133889ce3d1d30d944 | [log] [tgz] |
---|---|---|
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | Wed Nov 02 14:12:05 2016 -0700 |
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | Mon Jan 16 15:47:53 2017 -0800 |
tree | 34158316a74053a5051a2277d65615dbb41d4e24 | |
parent | 6563de9d6f1336157c9861bcd9864e0b47d65f9d [diff] |
rcu: Abstract the dynticks snapshot operation This commit is the second step towards full abstraction of all accesses to the ->dynticks counter, implementing the previously open-coded atomic add of zero in a new rcu_dynticks_snap() function. This abstraction will ease changes o the ->dynticks counter operation. Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Reviewed-by: Josh Triplett <josh@joshtriplett.org>