Remove unneeded signal-based MB from QSBR rcu
[urcu.git] / urcu-qsbr.h
index 101b94d49d83c71230bf208bf5cd9771656bab5b..59621807abf470012bc94ee48cc7e6ee786d2b65 100644 (file)
 #define YIELD_READ     (1 << 0)
 #define YIELD_WRITE    (1 << 1)
 
-/* Updates without DEBUG_FULL_MB are much slower. Account this in the delay */
-#ifdef DEBUG_FULL_MB
 /* maximum sleep delay, in us */
 #define MAX_SLEEP 50
-#else
-#define MAX_SLEEP 30000
-#endif
 
 extern unsigned int yield_active;
 extern unsigned int __thread rand_yield;
@@ -161,17 +156,10 @@ static inline void debug_yield_init(void)
 }
 #endif
 
-#ifdef DEBUG_FULL_MB
 static inline void reader_barrier()
 {
        smp_mb();
 }
-#else
-static inline void reader_barrier()
-{
-       barrier();
-}
-#endif
 
 /*
  * The trick here is that RCU_GP_CTR_BIT must be a multiple of 8 so we can use a
This page took 0.022259 seconds and 4 git commands to generate.