Skip to content

Commit

Permalink
Fix typo simple barrier
Browse files Browse the repository at this point in the history
  • Loading branch information
raresraf authored and tavip committed Mar 30, 2020
1 parent 5248cca commit b9b1eca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Documentation/teaching/lectures/smp.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1053,7 +1053,7 @@ For this purpose we can use barriers to order memory operations:
* A write barrier (:c:func:`wmb()`, :c:func:`smp_wmb()`) is used to
make sure that no write operation crosses the barrier

* A simple barrier (:c:func:`wmb()`, :c:func:`smp_wmb()`) is used
* A simple barrier (:c:func:`mb()`, :c:func:`smp_mb()`) is used
to make sure that no write or read operation crosses the barrier


Expand Down

0 comments on commit b9b1eca

Please sign in to comment.