<p>Corey Farrell <strong>uploaded patch set #2</strong> to this change.</p><p><a href="https://gerrit.asterisk.org/7519">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">loader: Rework of load_dynamic_module.<br><br>* Split off load_dlopen to perform actual dlopen, check results and log<br> warnings when needed.<br>* Always use RTLD_NOW.<br>* Use flags which minimize number of calls to dlopen required. First<br> attempt always uses RTLD_GLOBAL when global_symbols_only is enabled,<br> RTLD_LOCAL when it is not.<br><br>This patch significantly reduces the number of dlopen's performed. With<br>299 modules my system ran dlopen 857 times before this patch, 655 times<br>after this patch.<br><br>Change-Id: Ib2c9903cfddcc01aed3e01c1e7fe4a3fb9af0f8b<br>---<br>M main/loader.c<br>1 file changed, 63 insertions(+), 55 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/19/7519/2</pre><p>To view, visit <a href="https://gerrit.asterisk.org/7519">change 7519</a>. To unsubscribe, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/7519"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>
<div style="display:none"> Gerrit-Change-Id: Ib2c9903cfddcc01aed3e01c1e7fe4a3fb9af0f8b </div>
<div style="display:none"> Gerrit-Change-Number: 7519 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: Corey Farrell <git@cfware.com> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins2 </div>
<div style="display:none"> Gerrit-Reviewer: Joshua Colp <jcolp@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Kevin Harwell <kharwell@digium.com> </div>