From: Lai Jiangshan Date: Thu, 15 Sep 2011 15:19:12 +0000 (-0400) Subject: wake up default call_rcu thread after we move the leftover callbacks X-Git-Tag: v0.6.5~16 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=1e92aa15bf1b60dd65c20dceb934680c77e84dd5;p=urcu.git wake up default call_rcu thread after we move the leftover callbacks Signed-off-by: Lai Jiangshan Signed-off-by: Mathieu Desnoyers --- diff --git a/urcu-call-rcu-impl.h b/urcu-call-rcu-impl.h index 1ab49bc..6e80fa9 100644 --- a/urcu-call-rcu-impl.h +++ b/urcu-call-rcu-impl.h @@ -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);