wake up default call_rcu thread after we move the leftover callbacks
authorLai Jiangshan <laijs@cn.fujitsu.com>
Thu, 15 Sep 2011 15:19:12 +0000 (11:19 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 15 Sep 2011 15:19:12 +0000 (11:19 -0400)
Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
urcu-call-rcu-impl.h

index 1ab49bc69da4eb753b264f90f5393cd22ce0fe98..6e80fa98c8aea9ebd7a7a835ea8fa3c52546228e 100644 (file)
@@ -600,6 +600,7 @@ void call_rcu_data_free(struct call_rcu_data *crdp)
                *cbs_endprev = cbs;
                uatomic_add(&default_call_rcu_data->qlen,
                            uatomic_read(&crdp->qlen));
+               wake_call_rcu_thread(default_call_rcu_data);
        }
 
        cds_list_del(&crdp->list);
This page took 0.025459 seconds and 4 git commands to generate.