diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2016-02-15 17:29:47 -0800 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2016-03-31 13:33:20 -0700 |
commit | d8936c0b7e29510ce8f5c85ff5fcc592a938e860 (patch) | |
tree | 013f527bbb3972263e4428eb5b9e3dc762c76c92 /Documentation/w1/slaves | |
parent | f43b62542eb61a52d97d6b82a786a912fa5e6c51 (diff) |
documentation: Explain why rcu_read_lock() needs no barrier()
This commit adds a Quick Quiz whose answer explains why the compiler
code reordering enabled by CONFIG_PREEMPT=n's empty rcu_read_lock()
and rcu_read_unlock() functions does not hinder RCU's ability to figure
out which RCU read-side critical sections have completed and not.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'Documentation/w1/slaves')
0 files changed, 0 insertions, 0 deletions