[lttng-dev] RCU Reclamation

Mathieu Desnoyers mathieu.desnoyers at efficios.com
Sat Feb 27 08:32:42 EST 2016


----- On Feb 27, 2016, at 8:24 AM, masoud hematpour <mashemat at gmail.com> wrote: 

> Hello to all,

> Can you please help me? I confused in the following situation:

> CPU0 CPU1
> ----------- -----------
> rcu_read_lock() .
> C.S1 .
> rcu_read_unlock() .
> .
> .
> rcu_read_lock()
> Update (C.S1)
> C.S2 Synchronise_rcu()
> free(men_C.S1)
> rcu_read_unlock()

> synchronize_rcu() wait till end of C.S2?

You might want to clarify what "C", "S1", "S2", and 
"men_C" mean, as well as the meaning of the dot ".". 

Without context, answering your question would be 
more guesswork than anything reliable. 

Thanks, 

Mathieu 

> Thank you very much

> _______________________________________________
> lttng-dev mailing list
> lttng-dev at lists.lttng.org
> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

-- 
Mathieu Desnoyers 
EfficiOS Inc. 
http://www.efficios.com 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lttng.org/pipermail/lttng-dev/attachments/20160227/0fc32cf4/attachment-0001.html>


More information about the lttng-dev mailing list