<html><body><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000"><div><span id="zwchr" data-marker="__DIVIDER__">----- On Feb 27, 2016, at 8:24 AM, masoud hematpour <mashemat@gmail.com> wrote:<br></span></div><div data-marker="__QUOTED_TEXT__"><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Hello to all,</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Can you please help me? I confused in the following situation:</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"> CPU0 CPU1</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"> ----------- -----------</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"> rcu_read_lock() .</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"> C.S1 .</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"> rcu_read_unlock() .</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"> .</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"> . </div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"> rcu_read_lock() </div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"> Update (C.S1)</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"> C.S2 Synchronise_rcu()</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"> free(men_C.S1)</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><span style="color: #ff0000;" data-mce-style="color: #ff0000;" color="#ff0000">rcu_read_unlock() </span></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"> synchronize_rcu() wait till end of C.S2?</div></div></blockquote><div>You might want to clarify what "C", "S1", "S2", and<br></div><div>"men_C" mean, as well as the meaning of the dot ".".<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>Without context, answering your question would be<br data-mce-bogus="1"></div><div>more guesswork than anything reliable.<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>Thanks,<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>Mathieu<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Thank you very much</div></div><br>_______________________________________________<br>lttng-dev mailing list<br>lttng-dev@lists.lttng.org<br>http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev<br></blockquote></div><div><br></div><div data-marker="__SIG_POST__">-- <br></div><div>Mathieu Desnoyers<br>EfficiOS Inc.<br>http://www.efficios.com</div></div></body></html>