X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=rcuja%2Frcuja-internal.h;h=a8402cc3faee8063e0271e45b063307788f229b0;hb=d22c185b83a900c643c0ec6f86d65ed72f551736;hp=c03045103484cc4b505b076273ac8901b4524de8;hpb=195e72d3c13aa84df6d149b342468ff04f200343;p=userspace-rcu.git diff --git a/rcuja/rcuja-internal.h b/rcuja/rcuja-internal.h index c030451..a8402cc 100644 --- a/rcuja/rcuja-internal.h +++ b/rcuja/rcuja-internal.h @@ -33,8 +33,10 @@ struct rcu_ja_node_flag; * Shadow node contains mutex and call_rcu head associated with a node. */ struct rcu_ja_shadow_node { - pthread_mutex_t lock; /* mutual exclusion on node */ - struct rcu_head head; /* for deferred node and shadow node reclaim */ + struct cds_lfht_node ht_node; /* hash table node */ + struct rcu_ja_node *node; /* reverse mapping and hash table key */ + pthread_mutex_t lock; /* mutual exclusion on node */ + struct rcu_head head; /* for deferred node and shadow node reclaim */ }; struct rcu_ja {