aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorPaul E. McKenney <[email protected]>2016-01-14 22:17:04 +0000
committerPaul E. McKenney <[email protected]>2016-03-14 22:52:17 +0000
commit92a84dd210b8263f765882d3ee1a1d5cd348c16a (patch)
tree84336d89daf350394d408b908363e6d29d3ff89c /net/switchdev/switchdev.c
parentdocumentation: Remove obsolete reference to RCU-protected indexes (diff)
downloadkernel-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