Fix: uatomic powerpc comment about lwsync
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 9 Jun 2023 14:50:48 +0000 (10:50 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 9 Jun 2023 14:50:48 +0000 (10:50 -0400)
lwsync allows prior stores to be reordered against following loads.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: I288900d3546779ee80d14a3d8d02c43d7b1c0e8c

include/urcu/uatomic/ppc.h

index 0e672f57260529679b7c15d31304f57767328bb9..ed7ce5debaaa5a26e11ed311edaa8bd700a82c57 100644 (file)
@@ -34,7 +34,7 @@ extern "C" {
  * instructions for cmpxchg and add_return family of atomic primitives.
  *
  * This is achieved with:
- *   lwsync (prior loads can be reordered after following load)
+ *   lwsync (prior stores can be reordered after following loads)
  *   lwarx
  *   stwcx.
  *   test if success (retry)
This page took 0.027775 seconds and 4 git commands to generate.