commit | 50bf21241814ce6e97f190f9ecbc5760b1ca8136 | [log] [tgz] |
---|---|---|
author | Paul E. McKenney <paulmck@linux.ibm.com> | Fri Jan 18 15:48:29 2019 -0800 |
committer | Paul E. McKenney <paulmck@linux.ibm.com> | Fri Jan 18 15:55:03 2019 -0800 |
tree | 079800eadbb9d44b9b055f9e5a061a6a72cd7780 | |
parent | 4a6337b85633078f6ebba274fd65b5352f937f32 [diff] |
memorder: Add example showing RCU readers insensitive to ordering Like lock-based critical sections in programs synchronizing solely with locking, RCU is (roughly speaking) insensitive to the order of accesses within its read-side critical sections. This commit therefore adds an example illustrating this point. Signed-off-by: Paul E. McKenney <paulmck@linux.ibm.com>