urcu-defer: remove "ratelimit" leftover
authorMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Tue, 2 Mar 2010 16:36:49 +0000 (11:36 -0500)
committerMathieu 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

index 696ccae77db6c691c1172a6cd7c8b4eac5a88c09..92635ed3cca4c1f45390bfac5348714722f56547 100644 (file)
@@ -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.