projects
/
userspace-rcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove unneeded signal-based MB from QSBR rcu
[userspace-rcu.git]
/
urcu-qsbr.h
diff --git
a/urcu-qsbr.h
b/urcu-qsbr.h
index 101b94d49d83c71230bf208bf5cd9771656bab5b..59621807abf470012bc94ee48cc7e6ee786d2b65 100644
(file)
--- a/
urcu-qsbr.h
+++ b/
urcu-qsbr.h
@@
-117,13
+117,8
@@
#define YIELD_READ (1 << 0)
#define YIELD_WRITE (1 << 1)
#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
/* 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;
extern unsigned int yield_active;
extern unsigned int __thread rand_yield;
@@
-161,17
+156,10
@@
static inline void debug_yield_init(void)
}
#endif
}
#endif
-#ifdef DEBUG_FULL_MB
static inline void reader_barrier()
{
smp_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
/*
* The trick here is that RCU_GP_CTR_BIT must be a multiple of 8 so we can use a
This page took
0.023249 seconds
and
4
git commands to generate.