projects
/
userspace-rcu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de4f917
)
Add missing cpu_relax in loop
author
Mathieu Desnoyers
<mathieu.desnoyers@polymtl.ca>
Thu, 12 Feb 2009 21:53:23 +0000
(16:53 -0500)
committer
Mathieu Desnoyers
<mathieu.desnoyers@polymtl.ca>
Thu, 12 Feb 2009 21:53:23 +0000
(16:53 -0500)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
urcu.c
patch
|
blob
|
blame
|
history
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.025668 seconds
and
4
git commands to generate.