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:
3b36a2e
)
urcu-defer: remove "ratelimit" leftover
author
Mathieu Desnoyers
<mathieu.desnoyers@polymtl.ca>
Tue, 2 Mar 2010 16:36:49 +0000
(11:36 -0500)
committer
Mathieu Desnoyers
<mathieu.desnoyers@polymtl.ca>
Tue, 2 Mar 2010 16:36:49 +0000
(11:36 -0500)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
urcu-defer.c
patch
|
blob
|
blame
|
history
diff --git
a/urcu-defer.c
b/urcu-defer.c
index 696ccae77db6c691c1172a6cd7c8b4eac5a88c09..92635ed3cca4c1f45390bfac5348714722f56547 100644
(file)
--- a/
urcu-defer.c
+++ b/
urcu-defer.c
@@
-247,7
+247,7
@@
void _defer_rcu(void (*fct)(void *p), void *p)
* If queue is full, or reached threshold. Empty queue ourself.
* Worse-case: must allow 2 supplementary entries for fct pointer.
*/
- if (unlikely(
sync || (head - tail >= DEFER_QUEUE_SIZE - 2)
)) {
+ if (unlikely(
head - tail >= DEFER_QUEUE_SIZE - 2
)) {
assert(head - tail <= DEFER_QUEUE_SIZE);
rcu_defer_barrier_thread();
assert(head - LOAD_SHARED(defer_queue.tail) == 0);
This page took
0.027079 seconds
and
4
git commands to generate.