]> asedeno.scripts.mit.edu Git - linux.git/commit
rcu: Add comment documenting how rcu_seq_snap works
authorJoel Fernandes (Google) <joel@joelfernandes.org>
Wed, 23 May 2018 06:38:13 +0000 (23:38 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Thu, 12 Jul 2018 22:39:20 +0000 (15:39 -0700)
commit0d805a70a652a6eef8d0283e5183879e7acb85ad
treea47046bbc2e0808ccfe4e34a33735e76bd40f6fe
parentb06ae25a1e2b54b2b5bc589a4a118b7bb39159fe
rcu: Add comment documenting how rcu_seq_snap works

rcu_seq_snap may be tricky to decipher. Lets document how it works with
an example to make it easier.

Signed-off-by: Joel Fernandes (Google) <joel@joelfernandes.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
[ paulmck: Shrink comment as suggested by Peter Zijlstra. ]
kernel/rcu/rcu.h