Skip to content

Commit

Permalink
docs/memory-barriers.txt: Remove remaining references to mmiowb()
Browse files Browse the repository at this point in the history
This commit removes references to sections erased by Commit 9155303
("Documentation: Kill all references to mmiowb()").

Signed-off-by: SeongJae Park <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jonathan Corbet <[email protected]>
  • Loading branch information
sjp38 authored and Jonathan Corbet committed Nov 22, 2019
1 parent 3ef2f6a commit a897b13
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions Documentation/memory-barriers.txt
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ CONTENTS

- Compiler barrier.
- CPU memory barriers.
- MMIO write barrier.

(*) Implicit kernel memory barriers.

Expand All @@ -75,7 +74,6 @@ CONTENTS
(*) Inter-CPU acquiring barrier effects.

- Acquires vs memory accesses.
- Acquires vs I/O accesses.

(*) Where are memory barriers needed?

Expand Down Expand Up @@ -492,10 +490,9 @@ And a couple of implicit varieties:
happen before it completes.

The use of ACQUIRE and RELEASE operations generally precludes the need
for other sorts of memory barrier (but note the exceptions mentioned in
the subsection "MMIO write barrier"). In addition, a RELEASE+ACQUIRE
pair is -not- guaranteed to act as a full memory barrier. However, after
an ACQUIRE on a given variable, all memory accesses preceding any prior
for other sorts of memory barrier. In addition, a RELEASE+ACQUIRE pair is
-not- guaranteed to act as a full memory barrier. However, after an
ACQUIRE on a given variable, all memory accesses preceding any prior
RELEASE on that same variable are guaranteed to be visible. In other
words, within a given variable's critical section, all accesses of all
previous critical sections for that variable are guaranteed to have
Expand Down Expand Up @@ -1512,8 +1509,6 @@ levels:

(*) CPU memory barriers.

(*) MMIO write barrier.


COMPILER BARRIER
----------------
Expand Down

0 comments on commit a897b13

Please sign in to comment.