Fix: notification thread: RCU-safe reclaim of hash table nodes
[lttng-tools.git] / src / bin / lttng-sessiond / notification-thread-internal.h
index 397159da7ef6c863ea63515b0b17e35b4c6f566e..e217995f56635c13efffb70f3f5b8eea9f7ecd18 100644 (file)
@@ -53,6 +53,8 @@ struct session_info {
                /* Identifier of the currently ongoing rotation. */
                uint64_t id;
        } rotation;
+       /* call_rcu delayed reclaim. */
+       struct rcu_head rcu_node;
 };
 
 struct channel_info {
@@ -68,6 +70,8 @@ struct channel_info {
        struct cds_lfht_node channels_ht_node;
        /* Node in the session_info's channels_ht. */
        struct cds_lfht_node session_info_channels_ht_node;
+       /* call_rcu delayed reclaim. */
+       struct rcu_head rcu_node;
 };
 
 #endif /* NOTIFICATION_THREAD_INTERNAL_H */
This page took 0.031708 seconds and 4 git commands to generate.