projects
/
userspace-rcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add missing cpu_relax in loop
[userspace-rcu.git]
/
urcu.c
diff --git
a/urcu.c
b/urcu.c
index 8cbdef9e66b386c0b6ac175b2029e194bfe3b43f..b04b121344c5e0d425c0d2cfaee34a662ecb8cbf 100644
(file)
--- a/
urcu.c
+++ b/
urcu.c
@@
-159,6
+159,8
@@
void wait_for_quiescent_state(void)
if (wait_loops++ == KICK_READER_LOOPS) {
force_mb_single_thread(index->tid);
wait_loops = 0;
+ } else {
+ cpu_relax();
}
}
}
This page took
0.022465 seconds
and
4
git commands to generate.