summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
b4e52e3)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
extern unsigned long urcu_gp_ctr;
struct urcu_reader {
extern unsigned long urcu_gp_ctr;
struct urcu_reader {
+ /* Data used by both reader and synchronize_rcu() */
+ /* Data used for registry */
+ struct list_head head __attribute__((aligned(CACHE_LINE_SIZE)));
extern long urcu_gp_ctr;
struct urcu_reader {
extern long urcu_gp_ctr;
struct urcu_reader {
+ /* Data used by both reader and synchronize_rcu() */
- struct list_head head;
- pthread_t tid;
+ /* Data used for registry */
+ struct list_head head __attribute__((aligned(CACHE_LINE_SIZE)));
+ pthread_t tid;
};
extern struct urcu_reader __thread urcu_reader;
};
extern struct urcu_reader __thread urcu_reader;