[asterisk-dev] [Code Review] Read on idle timerfd will result in deadlocks
David Vossel
reviewboard at asterisk.org
Wed Jul 6 10:20:23 CDT 2011
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/1255/#review3813
-----------------------------------------------------------
branches/1.8/res/res_timing_timerfd.c
<https://reviewboard.asterisk.org/r/1255/#comment7622>
I had to revert the patch from 1.8 and trunk. This statement right hear is causing some serious performance problems. See jrose's comment.
If we comment out this line, everything works fine for him.
- David
On June 3, 2011, 4:11 p.m., kobaz wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/1255/
> -----------------------------------------------------------
>
> (Updated June 3, 2011, 4:11 p.m.)
>
>
> Review request for Asterisk Developers and russelb.
>
>
> Summary
> -------
>
> Fix for issue https://issues.asterisk.org/view.php?id=18028
> And several others.
>
>
> Diffs
> -----
>
> branches/1.8/res/res_timing_timerfd.c 320171
>
> Diff: https://reviewboard.asterisk.org/r/1255/diff
>
>
> Testing
> -------
>
> Make enough calls to trigger a read on an idle timer
>
> Wait for message:
> Reading attempt on idle timerfd. This would have caused a deadlock.
>
> Deadlock avoided.
>
>
> Thanks,
>
> kobaz
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20110706/fd363120/attachment.htm>
More information about the asterisk-dev
mailing list