Skip to content

Commit fb8a967

Browse files
committed
rcu: do not mention atomic_mb_read/set in documentation
Signed-off-by: Paolo Bonzini <[email protected]>
1 parent de99dab commit fb8a967

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/devel/rcu.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ The core RCU API is small:
132132

133133
typeof(*p) atomic_rcu_read(p);
134134

135-
atomic_rcu_read() is similar to atomic_mb_read(), but it makes
135+
atomic_rcu_read() is similar to atomic_load_acquire(), but it makes
136136
some assumptions on the code that calls it. This allows a more
137137
optimized implementation.
138138

@@ -154,7 +154,7 @@ The core RCU API is small:
154154

155155
void atomic_rcu_set(p, typeof(*p) v);
156156

157-
atomic_rcu_set() is also similar to atomic_mb_set(), and it also
157+
atomic_rcu_set() is similar to atomic_store_release(), though it also
158158
makes assumptions on the code that calls it in order to allow a more
159159
optimized implementation.
160160

0 commit comments

Comments
 (0)