From d123233afd72d7556d8eec3a1cf07b0af7b4b3d2 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Wed, 2 Mar 2011 21:19:00 -0500 Subject: [PATCH] urcu-bp: no "need_mb" in distrust signal config Signed-off-by: Mathieu Desnoyers --- urcu-bp.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/urcu-bp.c b/urcu-bp.c index 62d2704..db2aef0 100644 --- 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 */ -- 2.34.1