diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2016-11-02 14:12:05 -0700 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2017-01-16 15:47:53 -0800 |
commit | 8b2f63ab05eb233b2b396e133889ce3d1d30d944 (patch) | |
tree | 34158316a74053a5051a2277d65615dbb41d4e24 /lib/stackdepot.c | |
parent | 6563de9d6f1336157c9861bcd9864e0b47d65f9d (diff) | |
download | linux-8b2f63ab05eb233b2b396e133889ce3d1d30d944.tar.bz2 |
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>
Diffstat (limited to 'lib/stackdepot.c')
0 files changed, 0 insertions, 0 deletions