diff options
| author | Paul E. McKenney <[email protected]> | 2016-01-14 22:17:04 +0000 |
|---|---|---|
| committer | Paul E. McKenney <[email protected]> | 2016-03-14 22:52:17 +0000 |
| commit | 92a84dd210b8263f765882d3ee1a1d5cd348c16a (patch) | |
| tree | 84336d89daf350394d408b908363e6d29d3ff89c /net/switchdev/switchdev.c | |
| parent | documentation: Remove obsolete reference to RCU-protected indexes (diff) | |
| download | kernel-92a84dd210b8263f765882d3ee1a1d5cd348c16a.tar.gz kernel-92a84dd210b8263f765882d3ee1a1d5cd348c16a.zip | |
documentation: Subsequent writes ordered by rcu_dereference()
The current memory-barriers.txt does not address the possibility of
a write to a dereferenced pointer. This should be rare, but when it
happens, we need that write -not- to be clobbered by the initialization.
This commit therefore adds an example showing a data dependency ordering
a later data-dependent write.
Reported-by: Leonid Yegoshin <[email protected]>
Signed-off-by: Paul E. McKenney <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
