projects
/
userspace-rcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Provide cleanup interfaces for per-CPU and per-thread call_rcu threads
[userspace-rcu.git]
/
tests
/
test_urcu.c
diff --git
a/tests/test_urcu.c
b/tests/test_urcu.c
index 50964159238e3fe87e515db7d00c3050aa33fa58..e6a648981ed8b6b5a0abb679771d98d5e695dd9b 100644
(file)
--- a/
tests/test_urcu.c
+++ b/
tests/test_urcu.c
@@
-83,7
+83,7
@@
static unsigned long wduration;
static inline void loop_sleep(unsigned long l)
{
while(l-- != 0)
static inline void loop_sleep(unsigned long l)
{
while(l-- != 0)
- cpu_relax();
+ c
aa_c
pu_relax();
}
static int verbose_mode;
}
static int verbose_mode;
@@
-231,7
+231,7
@@
void *thr_reader(void *_count)
while (!test_go)
{
}
while (!test_go)
{
}
- smp_mb();
+
cmm_
smp_mb();
for (;;) {
rcu_read_lock();
for (;;) {
rcu_read_lock();
@@
-273,7
+273,7
@@
void *thr_writer(void *_count)
while (!test_go)
{
}
while (!test_go)
{
}
- smp_mb();
+
cmm_
smp_mb();
for (;;) {
new = test_array_alloc();
for (;;) {
new = test_array_alloc();
@@
-421,7
+421,7
@@
int main(int argc, char **argv)
exit(1);
}
exit(1);
}
- smp_mb();
+
cmm_
smp_mb();
test_go = 1;
test_go = 1;
This page took
0.024251 seconds
and
4
git commands to generate.