urcu-bp: no "need_mb" in distrust signal config
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 3 Mar 2011 02:19:00 +0000 (21:19 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 3 Mar 2011 02:19:00 +0000 (21:19 -0500)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
urcu-bp.c

index 62d270412823062ac175aaeb4f412b1518c34c8f..db2aef0c57b8ef397095cd71d6c12ded119bb9ec 100644 (file)
--- a/urcu-bp.c
+++ b/urcu-bp.c
@@ -95,11 +95,6 @@ static void mutex_lock(pthread_mutex_t *mutex)
                        perror("Error in pthread mutex lock");
                        exit(-1);
                }
-               if (rcu_reader.need_mb) {
-                       cmm_smp_mb();
-                       rcu_reader.need_mb = 0;
-                       cmm_smp_mb();
-               }
                poll(NULL,0,10);
        }
 #endif /* #else #ifndef DISTRUST_SIGNALS_EXTREME */
This page took 0.025284 seconds and 4 git commands to generate.