Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

tools/memory-model: docs/simple.txt: Fix trivial typos

Signed-off-by: Akira Yokosawa <akiyks@gmail.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Acked-by: Andrea Parri <parri.andrea@gmail.com>

authored by

Akira Yokosawa and committed by
Paul E. McKenney
366b88f6 13a9a113

+2 -2
+2 -2
tools/memory-model/Documentation/simple.txt
··· 134 134 Lockless programming is considered by many to be more difficult than 135 135 lock-based programming, but there are a few lockless design patterns that 136 136 have been built out into an API. One of these APIs is sequence locking. 137 - Although this APIs can be used in extremely complex ways, there are simple 137 + Although this API can be used in extremely complex ways, there are simple 138 138 and effective ways of using it that avoid the need to pay attention to 139 139 memory ordering. 140 140 ··· 205 205 operations from the previous section only when there are no racing 206 206 accesses. Otherwise, use only fully ordered operations when accessing 207 207 or modifying the variable. This approach guarantees that code prior 208 - to a given access to that variable will be seen by all CPUs has having 208 + to a given access to that variable will be seen by all CPUs as having 209 209 happened before any code following any later access to that same variable. 210 210 211 211 Please note that per-CPU functions are not atomic operations and