projects
/
userspace-rcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LoongArch: Document that byte and short atomics are implemented with LL/SC
[userspace-rcu.git]
/
include
/
urcu
/
uatomic
/
loongarch.h
diff --git
a/include/urcu/uatomic/loongarch.h
b/include/urcu/uatomic/loongarch.h
index f41302a274920dd2534756727880ddf0905f3821..dcf9e935fd44f229819b2128d25944aa26363491 100644
(file)
--- a/
include/urcu/uatomic/loongarch.h
+++ b/
include/urcu/uatomic/loongarch.h
@@
-32,6
+32,11
@@
extern "C" {
#endif
+/*
+ * LoongArch implements byte and short atomics with LL/SC instructions,
+ * which retry if the cache line is modified concurrently between LL and
+ * SC.
+ */
#define UATOMIC_HAS_ATOMIC_BYTE
#define UATOMIC_HAS_ATOMIC_SHORT
This page took
0.022736 seconds
and
4
git commands to generate.